]> git.neil.brown.name Git - history.git/commit
Fix locking problems in scsi_report_bus_reset() causing aic7xxx to hang
authorJames Bottomley <jejb@raven.il.steeleye.com>
Mon, 24 Nov 2003 04:02:15 +0000 (22:02 -0600)
committerJames Bottomley <jejb@mulgrave.(none)>
Mon, 24 Nov 2003 04:02:15 +0000 (22:02 -0600)
commit383d0b6537cbf5a593be3359d32d2755cbb7a922
tree4aa2e3214cdfb5bec8e4fef333741cb8e81311dc
parent9b22a8fb0edd6f6b452f341915d98cce5baba5df
Fix locking problems in scsi_report_bus_reset() causing aic7xxx to hang

All the users of this function in the SCSI tree call it with the host
lock held.  With the new list traversal code, it was trying to take
the lock again to traverse the list.

Fix it to use the unlocked version of list traversal and modify the
header comments to make it clear that the lock is expected to be held
on calling it.
drivers/scsi/scsi_error.c