]> pilppa.com Git - linux-2.6-omap-h63xx.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)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 18 Dec 2005 19:19:44 +0000 (11:19 -0800)
commite5508c13ac25b07585229b144a45cf64a990171e
tree6c2de87941b7dd81a6c36ca73d517165629c9147
parent87d47d0547631e059c308b392cd2423fe9248c93
[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: Linus Torvalds <torvalds@osdl.org>
drivers/scsi/dpt_i2o.c