commit | f6324b1bb7f8d38c4f8be5509098e4b3ee0194b1 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Apr 05 19:18:09 2017 +0200 |
committer | Jens Axboe <axboe@fb.com> | Wed Apr 05 12:05:08 2017 -0600 |
tree | 06f620272881a64cd8dc095515a9b951cb50b457 | |
parent | 987f699a8f6c9a724e970c1bb4cde2e2c6a52010 [diff] |
nvme: cleanup nvme_req_needs_retry Don't pass the status explicitly but derive it from the requeust, and unwind the complex condition to be more readable. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Jens Axboe <axboe@fb.com>