NVMe: Fix command setup on IO retry
authorKeith Busch <keith.busch@intel.com>
Thu, 4 Dec 2014 00:07:13 +0000 (17:07 -0700)
committerJens Axboe <axboe@fb.com>
Thu, 4 Dec 2014 02:10:45 +0000 (19:10 -0700)
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>

No differences found