OpenCloudOS-Kernel/drivers/lightnvm
Wenwei Tao 8261bd48c6 lightnvm: free memory when gennvm register fails
free allocated nvm block and gennvm lun structures when
gennvm register fails, otherwise it will cause memory leak.

Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
2015-11-29 14:34:57 -07:00
..
Kconfig rrpc: Round-robin sector target with cost-based gc 2015-10-29 16:21:42 +09:00
Makefile rrpc: Round-robin sector target with cost-based gc 2015-10-29 16:21:42 +09:00
core.c lightnvm: add free and bad lun info to show luns 2015-11-20 08:33:21 -07:00
gennvm.c lightnvm: free memory when gennvm register fails 2015-11-29 14:34:57 -07:00
gennvm.h lightnvm: update bad block table format 2015-11-16 15:20:25 -07:00
rrpc.c lightnvm: remove linear and device addr modes 2015-11-16 15:20:34 -07:00
rrpc.h lightnvm: refactor phys addrs type to u64 2015-11-03 09:53:24 -07:00