diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2010-12-31 02:22:22 -0600 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-12-31 09:53:09 -0600 |
commit | bfcf72e4426da2fd8f8081a641385ffc3ccc2282 (patch) | |
tree | b471c73b7e31ef6a0be649ecab96ad2a8798cbe2 /drivers/scsi/scsi_sysfs.c | |
parent | f41d472179a0d7c8e8160c85180ab1124947068e (diff) |
[SCSI] libiscsi: use bh locking instead of irq with session lock
The session lock is taken in threads, timers, and bottom halves
like softirqs and tasklets. All the code but
iscsi_conn/session_failure take the session lock with the spin_lock_bh
call. This was done because I thought some offload drivers
would be calling these functions from a irq. They never did,
so this patch has iscsi_conn/session_failure use the bh
locking.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/scsi_sysfs.c')
0 files changed, 0 insertions, 0 deletions