]> Pileus Git - ~andy/linux/commit
[SCSI] megaraid_sas: fix EH locking
authorChristoph Hellwig <hch@lst.de>
Mon, 31 Oct 2005 18:51:24 +0000 (19:51 +0100)
committerJames Bottomley <jejb@mulgrave.(none)>
Sun, 6 Nov 2005 18:50:41 +0000 (12:50 -0600)
commit3072c4abdd8c239a28085733adf3aaae94ad8fbe
tree4022443ea9bf6c8bbbb49c11eb67937c798b3f3f
parent7dfdc9a52b4219fba8240750e36de5db860ddd5f
[SCSI] megaraid_sas: fix EH locking

recent kernels call the eh_ methods without the host lock held.
megaraid_sas doesn't need it but drops it before calling a sleeping
routine and reqcquires it afterwards.  Just remove the
spin_unlock/spin_lock calls.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/megaraid/megaraid_sas.c