nvme: properly free resources for cancelled command
Christoph Hellwig authored
BugLink: http://bugs.launchpad.net/bugs/1531539



We need to move freeing of resources to the ->complete handler to ensure
they are also freed when we cancel the command.
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarKeith Busch <keith.busch@intel.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
(cherry picked from commit eee417b0

)
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
42158a1a
Name Last commit Last update
..
Kconfig
Makefile
core.c
lightnvm.c
nvme.h
pci.c
scsi.c