nvme: fix scsi translation error handling
Erorr handling for the scsi translation was completely broken, as there were two different positive error number spaces overlapping. Fix this up by removing one of them, and centralizing the generation of the other positive values in a single place. Also fix up a few places that didn't handle the NVMe error codes properly. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>
This commit is contained in:
parent
b90c48d0c1
commit
e61b0a86ca
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user