[PATCH] fix megaraid.c locking
authorChristoph Hellwig <hch@lst.de>
Tue, 29 Nov 2005 20:36:16 +0000 (21:36 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 29 Nov 2005 21:03:01 +0000 (13:03 -0800)
commit238f9b063dcc9f23493a0d3fecca29fe332d4905
treea2ddb44e978ade378774290a4fb697a232a890b6
parent238f58d898df941aa9d1cb390fb27ff4febe8965
[PATCH] fix megaraid.c locking

This fixes locking in megaraid.c, namely:

 (1) make sure megaraid_queue release the adapter lock by changing the
     code to have a single return
 (2) remove the errornous scsi_assign_lock call

Testing by Burton Windle.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Burton Windle <bwindle@fint.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/scsi/megaraid.c