From: Jitendra Bhivare Date: Fri, 24 Mar 2017 08:41:42 +0000 (+0530) Subject: scsi: be2iscsi: Replace spin_unlock_bh with spin_lock X-Git-Tag: v4.12-rc1~99^2~107 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d1e1d63b32b79a6b3d93ce7a6dd0d48b8cf472fd;p=karo-tx-linux.git 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 Reviewed-by: Tomas Henzl Reviewed-by: Chris Leech Signed-off-by: Martin K. Petersen --- 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;