commit | a0a931d6a2c1fbc5d5966ebf0e7a043748692c22 | [log] [tgz] |
---|---|---|
author | Keith Busch <keith.busch@intel.com> | Fri May 22 12:28:31 2015 -0600 |
committer | Jens Axboe <axboe@fb.com> | Fri May 22 14:13:32 2015 -0600 |
tree | 64e312c46a360afa5d0f1633ad880bc1a6d30833 | |
parent | d29ec8241c10eacf59c23b3828a88dbae06e7e3f [diff] |
NVMe: Fix obtaining command result Replaces req->sense_len usage, which is not owned by the LLD, to req->special to contain the command result for driver created commands, and sets the result unconditionally on completion. Signed-off-by: Keith Busch <keith.busch@intel.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Jens Axboe <axboe@fb.com> Fixes: d29ec8241c10 ("nvme: submit internal commands through the block layer") Signed-off-by: Jens Axboe <axboe@fb.com>