Skip to content

Commit

Permalink
nvme: fix scsi translation error handling
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christoph Hellwig authored and Jens Axboe committed May 22, 2015
1 parent b90c48d commit e61b0a8
Showing 1 changed file with 127 additions and 251 deletions.
Loading

0 comments on commit e61b0a8

Please sign in to comment.