scsi: scsi_error: Do not retry illegal function error
authorHannes Reinecke <hare@suse.de>
Tue, 17 Oct 2017 07:10:56 +0000 (09:10 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 19 Oct 2017 00:55:39 +0000 (20:55 -0400)
commita8bbb2ab4e4fac8ebd2a402d5d81500cbeaaebaf
treed7d747096298faf2ec9bd3955c00f0d8f952ab08
parent909cf3e16a5274fe2127cf3cea5c8dba77b2c412
scsi: scsi_error: Do not retry illegal function error

Hitachi USP-V returns 'ILLEGAL FUNCTION' when the internal staging
mechanism encountered an error. These errors should not be retried on
another path.

[mkp: s/invalid/illegal/]

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_error.c