diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2013-12-19 01:16:21 -0600 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2014-03-10 12:44:31 +0400 |
commit | 126e964a444f125bd428757fb88c24c730f6fcf9 (patch) | |
tree | 148e1daced470ceeed4de6528df2d8627fc9692b /drivers/scsi/be2iscsi/be_main.c | |
parent | f324777ea88bab2522602671e46fc0851d7d5e35 (diff) |
[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: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/be2iscsi/be_main.c')
-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 1f375051483..5642a9b250c 100644 --- a/drivers/scsi/be2iscsi/be_main.c +++ b/drivers/scsi/be2iscsi/be_main.c @@ -325,7 +325,7 @@ static int beiscsi_eh_device_reset(struct scsi_cmnd *sc) if (!abrt_task->sc || abrt_task->state == ISCSI_TASK_FREE) continue; - if (abrt_task->sc->device->lun != abrt_task->sc->device->lun) + if (sc->device->lun != abrt_task->sc->device->lun) continue; /* Invalidate WRB Posted for this Task */ |