]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
scsi: fnic: do not call host reset from command abort
authorHannes Reinecke <hare@suse.de>
Fri, 25 Aug 2017 11:57:00 +0000 (13:57 +0200)
committerJack Vogel <jack.vogel@oracle.com>
Wed, 7 Mar 2018 04:10:46 +0000 (20:10 -0800)
Command abort already returns FAILED, which will then be escalated to a
host reset. So no need to call host_reset directly.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit 7c3a50bb9b6ec289126085ccfe205ed0cc3c0a85)

Orabug: 27587343
Signed-off-by: Jack Vogel <jack.vogel@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/fnic/fnic_scsi.c

index 2390ebad34bd635d33b998405089f0aadb969bed..cf8119bc672b831e76d76bea4a2ace393c8c052f 100644 (file)
@@ -2005,10 +2005,6 @@ int fnic_abort_cmd(struct scsi_cmnd *sc)
                FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
                        "Issuing Host reset due to out of order IO\n");
 
-               if (fnic_host_reset(sc) == FAILED) {
-                       FNIC_SCSI_DBG(KERN_DEBUG, fnic->lport->host,
-                               "fnic_host_reset failed.\n");
-               }
                ret = FAILED;
                goto fnic_abort_cmd_end;
        }