diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2018-04-17 04:04:40 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-04-19 07:00:44 +0300 |
commit | c976562162a0bd8f460e5499e13118371da1a66a (patch) | |
tree | 6c4d9b7ebe2f203d6a463bcd91767b8968c99100 /drivers/message | |
parent | 354f113205f5893f891e0eb7f1be465289bab130 (diff) | |
download | linux-c976562162a0bd8f460e5499e13118371da1a66a.tar.xz |
scsi: sd_zbc: Let the SCSI core handle ILLEGAL REQUEST / ASC 0x21
scsi_io_completion() translates the sense key ILLEGAL REQUEST / ASC 0x21 into
ACTION_FAIL. That means that setting cmd->allowed to zero in sd_zbc_complete()
for this sense code / ASC combination is not necessary. Hence remove the code
that resets cmd->allowed from sd_zbc_complete().
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Damien Le Moal <damien.lemoal@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.com>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/message')
0 files changed, 0 insertions, 0 deletions