diff options
author | Keith Busch <keith.busch@intel.com> | 2014-12-04 01:07:13 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-12-04 03:10:45 +0100 |
commit | 9af8785a38d4528d6675247f873b0f1ae29f3be8 (patch) | |
tree | 65f7044e066a022c8d722e184ca1fcd2986b512f /drivers/block/cciss_scsi.c | |
parent | null_blk: boundary check queue_mode and irqmode (diff) | |
download | linux-9af8785a38d4528d6675247f873b0f1ae29f3be8.tar.xz linux-9af8785a38d4528d6675247f873b0f1ae29f3be8.zip |
NVMe: Fix command setup on IO retry
On retry, the req->special is pointing to an already setup IOD, but we
still need to setup the command context and callback, otherwise you'll
see false twice completed errors and leak requests.
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block/cciss_scsi.c')
0 files changed, 0 insertions, 0 deletions