commit | e61b0a86cac83c3bf501705c8d52a0a29cecf091 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri May 22 11:12:41 2015 +0200 |
committer | Jens Axboe <axboe@fb.com> | Fri May 22 08:36:36 2015 -0600 |
tree | a58f39cf361bcc9ca49f5b7ef574e21c915b147b | |
parent | b90c48d0c11efe373a42a60e66e2ac2a503c287b [diff] |
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>