]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] dpt_i2o fix for deadlock condition
authorSalyzyn, Mark <mark_salyzyn@adaptec.com>
Sun, 18 Dec 2005 03:26:30 +0000 (19:26 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 27 Dec 2005 00:08:56 +0000 (16:08 -0800)
commitfe2e17a405a58ec8a7138fee4ebe101858b636e0
tree853d4a92818650bcf6800181df01fc8ca0928fb8
parent6968ecfca8822055cfe121214c0786e4eecc038e
[PATCH] dpt_i2o fix for deadlock condition

Miquel van Smoorenburg <miquels@cistron.nl> forwarded me this fix to
resolve a deadlock condition that occurs due to the API change in 2.6.13+
kernels dropping the host locking when entering the error handling.  They
all end up calling adpt_i2o_post_wait(), which if you call it unlocked,
might return with host_lock locked anyway and that causes a deadlock.

Signed-off-by: Mark Salyzyn <aacraid@adaptec.com>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Chris Wright <chrisw@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/scsi/dpt_i2o.c