[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)
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>

No differences found