From: nagalakshmi.nandigama@lsi.com Date: Wed, 19 Oct 2011 10:07:14 +0000 (+0530) Subject: [SCSI] mpt2sas: Fix for dead lock occurring between host_lock and sas_device_lock X-Git-Tag: v3.2-rc1~44^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3db032f1af6dd3280037ea526fee7cddcc36c41;p=pandora-kernel.git [SCSI] mpt2sas: Fix for dead lock occurring between host_lock and sas_device_lock Fix for dead lock occurring between host_lock and sas_device_lock. The deadlock is between two spin locks, between the shost->host_lock and driver ioc->sas_device_lock. The fix is to rearrange the code in the FW/Driver device removal handshake so the ioc->sas_device_lock is not occurring when the shost->host_lock is taken. [jejb: zero initialise sas_address to fix spurious compiler warning] Signed-off-by: Nagalakshmi Nandigama Signed-off-by: James Bottomley --- Reading git-diff-tree failed