Files
erofs-linux/drivers/lightnvm
Pan Bian 9778448175 lightnvm: fix memory leak when submit fails
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 <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
2021-01-21 05:45:51 -07:00
..
2021-01-03 14:54:44 -07:00
…
…
…
…
…