diff options
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
-rw-r--r-- | drivers/scsi/scsi_lib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 5b770e9e82c2..b4833deffd3b 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c | |||
@@ -880,6 +880,7 @@ void scsi_io_completion(struct scsi_cmnd *cmd, unsigned int good_bytes) | |||
880 | cmd->cmnd[0] == WRITE_SAME)) { | 880 | cmd->cmnd[0] == WRITE_SAME)) { |
881 | description = "Discard failure"; | 881 | description = "Discard failure"; |
882 | action = ACTION_FAIL; | 882 | action = ACTION_FAIL; |
883 | error = -EREMOTEIO; | ||
883 | } else | 884 | } else |
884 | action = ACTION_FAIL; | 885 | action = ACTION_FAIL; |
885 | break; | 886 | break; |