scsi/osd: don't save block errors into req_results
authorChristoph Hellwig <hch@lst.de>
Sat, 3 Jun 2017 07:37:55 +0000 (09:37 +0200)
committerJens Axboe <axboe@fb.com>
Fri, 9 Jun 2017 15:27:32 +0000 (09:27 -0600)
commit10f64ec5dded10f680f891e92fb4c65f4b7147a2
tree45680a7057fed2b6666f04f7bafa70b58a71130e
parent401741547f95c0883fe143ac446d92c772937556
scsi/osd: don't save block errors into req_results

We will only have sense data if the command executed and got a SCSI
result, so this is pointless.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/scsi/osd/osd_initiator.c