aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/lightnvm/Kconfig
diff options
context:
space:
mode:
authorRakesh Pandit <rakesh@tuxera.com>2017-10-13 14:45:54 +0200
committerJens Axboe <axboe@kernel.dk>2017-10-13 08:34:57 -0600
commitc9d84b350f9b253872fc24f4dcfea166c884ee15 (patch)
tree8bbff36b9847bebdac26eeaf7736838ffc265ea5 /drivers/lightnvm/Kconfig
parenta96d50fa0c8d3e399c49a0a90ddbbaabf8a46bb3 (diff)
downloadlinux-c9d84b350f9b253872fc24f4dcfea166c884ee15.tar.gz
lightnvm: pblk: fix error path in pblk_lines_alloc_metadata
Use appropriate memory free calls based on allocation type used and also fix number of times free is called if kmalloc fails. Signed-off-by: Rakesh Pandit <rakesh@tuxera.com> Reviewed-by: Javier González <javier@cnexlabs.com> Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/lightnvm/Kconfig')
0 files changed, 0 insertions, 0 deletions