NVMe: fix freeing of wrong request in abort path
authorSam Bradshaw <sbradshaw@micron.com>
Wed, 10 Dec 2014 20:00:31 +0000 (13:00 -0700)
committerJens Axboe <axboe@fb.com>
Wed, 10 Dec 2014 20:00:31 +0000 (13:00 -0700)
commitc87fd5407e1aa1cfc6b393b03bf67010cf643dbe
tree928d7c759ee3c5d06958ad54be2cbc94d60eeac6
parent9af8785a38d4528d6675247f873b0f1ae29f3be8
NVMe: fix freeing of wrong request in abort path

We allocate 'abort_req', but free 'req' in case of an error
submitting the IO.

Signed-off-by: Sam Bradshaw <sbradshaw@micron.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nvme-core.c