[SCSI] mpt2sas: fix config request and diag reset deadlock
authorKashyap, Desai <kashyap.desai@lsi.com>
Fri, 14 Aug 2009 09:31:35 +0000 (15:01 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 14 Aug 2009 14:16:05 +0000 (09:16 -0500)
commit388ce4beb7135722c584b0af18f215e3ec657adf
tree2eee12456d42cd5e767e1ebadd7d3e196fb52e59
parentf9b14c9183b250cf128c7d2341e6b9bdbbcd8f35
[SCSI] mpt2sas: fix config request and diag reset deadlock

Moving the setting and clearing of the mutex's to
_config_request. There was a mutex deadlock when diag reset is called from
inside _config_request, so diag reset was moved to outside the mutexs.

Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/mpt2sas/mpt2sas_config.c