linux/drivers/lightnvm
Rakesh Pandit c9d84b350f 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>
2017-10-13 08:34:57 -06:00
..
core.c lightnvm: remove already calculated nr_chnls 2017-10-13 08:34:57 -06:00
Kconfig lightnvm: physical block device (pblk) target 2017-04-16 10:06:33 -06:00
Makefile lightnvm: physical block device (pblk) target 2017-04-16 10:06:33 -06:00
pblk-cache.c lightnvm: pblk: fail gracefully on irrec. error 2017-06-26 16:27:39 -06:00
pblk-core.c lightnvm: pblk: control I/O flow also on tear down 2017-07-07 13:17:34 -06:00
pblk-gc.c lightnvm: pblk: use vmalloc for GC data buffer 2017-06-30 11:08:18 -06:00
pblk-init.c lightnvm: pblk: fix error path in pblk_lines_alloc_metadata 2017-10-13 08:34:57 -06:00
pblk-map.c lightnvm: pblk: fix bad le64 assignations 2017-06-30 11:08:18 -06:00
pblk-rb.c lightnvm: pblk: advance bio according to lba index 2017-07-28 08:06:00 -06:00
pblk-read.c lightnvm: pblk: advance bio according to lba index 2017-07-28 08:06:00 -06:00
pblk-recovery.c lightnvm: pblk: control I/O flow also on tear down 2017-07-07 13:17:34 -06:00
pblk-rl.c lightnvm: pblk: fail gracefully on irrec. error 2017-06-26 16:27:39 -06:00
pblk-sysfs.c lightnvm: pblk: remove unused return variable 2017-06-30 11:08:18 -06:00
pblk-write.c lightnvm: pblk: remove unnecessary checks 2017-07-07 13:17:36 -06:00
pblk.h lightnvm: pblk: advance bio according to lba index 2017-07-28 08:06:00 -06:00
rrpc.c blk: remove bio_set arg from blk_queue_split() 2017-06-18 12:40:59 -06:00
rrpc.h lightnvm: use end_io callback instead of instance 2017-01-31 08:32:13 -07:00