kernel-fxtec-pro1x/drivers/lightnvm
Wenwei Tao c27278bddd lightnvm: unlock rq and free ppa_list on submission fail
When rrpc_write_ppalist_rq and rrpc_read_ppalist_rq succeed, we setup
rq correctly, but nvm_submit_io may afterward fail since it cannot
allocate request or nvme_nvm_command, we return error but forget to
cleanup the previous work.

Signed-off-by: Wenwei Tao <ww.tao0320@gmail.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
2016-01-12 08:21:16 -07:00
..
core.c lightnvm: fix media mgr registration 2015-12-07 09:14:19 -07:00
gennvm.c lightnvm: fix incorrect nr_free_blocks stat 2016-01-12 08:21:15 -07:00
gennvm.h lightnvm: update bad block table format 2015-11-16 15:20:25 -07:00
Kconfig lightnvm: do not compile in debugging by default 2015-12-07 09:14:20 -07:00
Makefile rrpc: Round-robin sector target with cost-based gc 2015-10-29 16:21:42 +09:00
rrpc.c lightnvm: unlock rq and free ppa_list on submission fail 2016-01-12 08:21:16 -07:00
rrpc.h lightnvm: refactor phys addrs type to u64 2015-11-03 09:53:24 -07:00