diff options
author | Christoph Hellwig <hch@lst.de> | 2019-03-12 18:05:10 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-04-05 08:07:56 +0200 |
commit | cfe03c2ec46200dfefa5167e6a2bb50c0426c5f4 (patch) | |
tree | 92cac7d8c250bf1301e6a0e50a72746275d2e37a /scripts/bpf_helpers_doc.py | |
parent | 43e2d08d0790a09ee1d2c838e33343ee1bcaf610 (diff) |
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>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions