diff options
author | Jitendra Bhivare <jitendra.bhivare@broadcom.com> | 2017-03-24 09:41:42 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-03-28 04:03:04 +0200 |
commit | d1e1d63b32b79a6b3d93ce7a6dd0d48b8cf472fd (patch) | |
tree | f9e8ef7d9e9f1d6623803db3317e2bccf3ea29bc /drivers/scsi/be2iscsi | |
parent | scsi: be2iscsi: Fix closing of connection (diff) | |
download | linux-d1e1d63b32b79a6b3d93ce7a6dd0d48b8cf472fd.tar.xz linux-d1e1d63b32b79a6b3d93ce7a6dd0d48b8cf472fd.zip |
scsi: be2iscsi: Replace spin_unlock_bh with spin_lock
spin_unlock_bh back_lock is used in beiscsi_eh_device_reset instead of
spin_lock.
Signed-off-by: Jitendra Bhivare <jitendra.bhivare@broadcom.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Reviewed-by: Chris Leech <cleech@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/be2iscsi')
-rw-r--r-- | drivers/scsi/be2iscsi/be_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c index 32b2713cec93..ff4857383998 100644 --- a/drivers/scsi/be2iscsi/be_main.c +++ b/drivers/scsi/be2iscsi/be_main.c @@ -337,7 +337,7 @@ static int beiscsi_eh_device_reset(struct scsi_cmnd *sc) inv_tbl->task[nents] = task; nents++; } - spin_unlock_bh(&session->back_lock); + spin_unlock(&session->back_lock); spin_unlock_bh(&session->frwd_lock); rc = SUCCESS; |