diff options
author | Rakesh Pandit <rakesh@tuxera.com> | 2017-05-09 17:48:25 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-05-10 16:39:43 +0300 |
commit | fba704b494fdc6816a039a66887274b4e5c00eeb (patch) | |
tree | d86d13909a28d2686e6154550b9184619d0524ad /block/blk-map.c | |
parent | ebd768579552a10682c2cbdfa657779dea62a01d (diff) | |
download | linux-fba704b494fdc6816a039a66887274b4e5c00eeb.tar.xz |
nvme: lightnvm: fix memory leak
Free up kmalloc allocated memory if failure happens while handling L2P
table transfer in nvme_nvm_get_l2p_tbl.
Fixes: 8e79b5cb ("lightnvm: move block provisioning to targets")
Signed-off-by: Rakesh Pandit <rakesh@tuxera.com>
Reviewed-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-map.c')
0 files changed, 0 insertions, 0 deletions