diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2008-09-24 18:46:15 +0200 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-10-13 15:29:01 +0200 |
commit | a343914831a8e29d89af3b26495ab1136a9e3153 (patch) | |
tree | 986eec7aa0475b32047711a3fe907db66835ce64 /drivers/scsi/sd.h | |
parent | libiscsi: check reason why we are stopping iscsi session to determine error v... (diff) | |
download | linux-a343914831a8e29d89af3b26495ab1136a9e3153.tar.xz linux-a343914831a8e29d89af3b26495ab1136a9e3153.zip |
libiscsi: fix locking in iscsi_eh_device_reset
We must be using the bh spin locking functions in
iscsi_eh_device_reset becuase the session lock interacts with
a thread and softirq.
This patch also fixes up a bogus comment and check in fail_command,
because no one drops the lock (bnx2i did but it is not going
upstream yet and there were other refcount changes for that).
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/sd.h')
0 files changed, 0 insertions, 0 deletions