commit | 65ba6b54e7c1fe7751388f5da6ad87c2d1bee3ae | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Apr 20 16:02:58 2017 +0200 |
committer | Jens Axboe <axboe@fb.com> | Thu Apr 20 12:16:10 2017 -0600 |
tree | 3937ee6dc83ce4d1a5430c60de37a71881a0bcd9 | |
parent | 27fa9bc54541dabc3fabe1c520d342f5add0379b [diff] |
nvme: make nvme_error_status private Currently it's used by the lighnvm passthrough ioctl, but we'd like to make it private in preparation of block layer specific error code. Lighnvm already returns the real NVMe status anyway, so I think we can just limit it to returning -EIO for any status set. This will need a careful audit from the lightnvm folks, though. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>