• Christoph Hellwig's avatar
    nvme: make nvme_error_status private · 65ba6b54
    Christoph Hellwig authored
    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: default avatarChristoph Hellwig <hch@lst.de>
    Signed-off-by: default avatarJens Axboe <axboe@fb.com>
    65ba6b54
core.c 61.2 KB