Christoph Hellwig cfe03c2ec4 nvmet: avoid double errno conversions
Use errno_to_nvme_status to convert from a negative errno to a
nvme status field instead of going through a blk_status_t.

Also remove the pointless status variable in
nvmet_bdev_execute_write_zeroes.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
2019-04-05 08:07:56 +02:00
..
2019-02-20 07:22:42 -07:00
2019-02-20 07:22:42 -07:00
2019-03-28 18:15:03 +01:00
2019-02-20 07:22:42 -07:00
2019-02-20 07:22:36 -07:00
2019-02-20 07:22:42 -07:00
2019-02-20 07:22:39 -07:00