Commit 126e964a authored by Mike Christie's avatar Mike Christie Committed by James Bottomley

[SCSI] be2iscsi: fix bad if expression

https://bugzilla.kernel.org/show_bug.cgi?id=67091

Cc: Jayamohan Kallickal <Jayamohan.Kallickal@emulex.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent f324777e
...@@ -325,7 +325,7 @@ static int beiscsi_eh_device_reset(struct scsi_cmnd *sc) ...@@ -325,7 +325,7 @@ static int beiscsi_eh_device_reset(struct scsi_cmnd *sc)
if (!abrt_task->sc || abrt_task->state == ISCSI_TASK_FREE) if (!abrt_task->sc || abrt_task->state == ISCSI_TASK_FREE)
continue; continue;
if (abrt_task->sc->device->lun != abrt_task->sc->device->lun) if (sc->device->lun != abrt_task->sc->device->lun)
continue; continue;
/* Invalidate WRB Posted for this Task */ /* Invalidate WRB Posted for this Task */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment