diff options
| author | Christoph Hellwig <[email protected]> | 2019-03-12 18:05:10 +0100 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2019-04-05 08:07:56 +0200 |
| commit | cfe03c2ec46200dfefa5167e6a2bb50c0426c5f4 (patch) | |
| tree | 92cac7d8c250bf1301e6a0e50a72746275d2e37a /tools/perf/scripts/python | |
| 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 <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions