android_kernel_motorola_sm6375/drivers/lightnvm
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Pan Bian 49aaf012c4 lightnvm: fix memory leak when submit fails
commit 97784481757fba7570121a70dd37ca74a29f50a8 upstream.

The allocated page is not released if error occurs in
nvm_submit_io_sync_raw(). __free_page() is moved ealier to avoid
possible memory leak issue.

Fixes: aff3fb18f9 ("lightnvm: move bad block and chunk state logic to core")
Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-01-27 11:47:53 +01:00
..
core.c lightnvm: fix memory leak when submit fails 2021-01-27 11:47:53 +01:00
Kconfig lightnvm: select CONFIG_CRC32 2021-01-17 14:05:37 +01:00
Makefile
pblk-cache.c
pblk-core.c
pblk-gc.c
pblk-init.c
pblk-map.c
pblk-rb.c
pblk-read.c lightnvm: remove unused 'geo' variable 2019-08-08 22:14:04 -06:00
pblk-recovery.c lightnvm: remove set but not used variables 'data_len' and 'rq_len' 2019-08-08 07:34:34 -06:00
pblk-rl.c
pblk-sysfs.c
pblk-trace.h
pblk-write.c
pblk.h