diff options
| author | Christoph Hellwig <hch@lst.de> | 2019-03-12 20:05:10 +0300 |
|---|---|---|
| committer | Christoph Hellwig <hch@lst.de> | 2019-04-05 09:07:56 +0300 |
| commit | cfe03c2ec46200dfefa5167e6a2bb50c0426c5f4 (patch) | |
| tree | 92cac7d8c250bf1301e6a0e50a72746275d2e37a /tools/perf/scripts/python/intel-pt-events.py | |
| parent | 43e2d08d0790a09ee1d2c838e33343ee1bcaf610 (diff) | |
| download | linux-cfe03c2ec46200dfefa5167e6a2bb50c0426c5f4.tar.xz | |
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 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
