]> git.baikalelectronics.ru Git - kernel.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)
commita653f56f75eee8c87a4d183d1865aee2c9c9b506
tree6c2de87941b7dd81a6c36ca73d517165629c9147
parent13dedcfe666dbaa9a66a19c011da06f6c389988c
[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