commit | d663b69ff378e4990e35e274ab0813c4641ab564 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Apr 20 16:02:56 2017 +0200 |
committer | Jens Axboe <axboe@fb.com> | Thu Apr 20 12:16:10 2017 -0600 |
tree | 8226486c8dba90966ab5ee377c82319392c19a1e | |
parent | b7819b9259185dcdcc81eb32182a4dc13d695738 [diff] |
nvme-fc: fix status code handling in nvme_fc_fcpio_done nvme_complete_async_event expects the little endian status code including the phase bit, and a new completion handler I plan to introduce will do so as well. Change the status variable into the little endian format with the phase bit used in the NVMe CQE to fix / enable this. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Jens Axboe <axboe@fb.com>