linux/drivers/lightnvm
Dan Carpenter 503ec94eca lightnvm: pblk-gc: fix an error pointer dereference in init
These labels are reversed so we could end up dereferencing an error
pointer or leaking.

Fixes: 7f347ba6bb3a ("lightnvm: physical block device (pblk) target")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Matias Bjørling <matias@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
2017-04-16 10:06:34 -06:00
..
core.c lightnvm: convert sprintf into strlcpy 2017-04-16 10:06:25 -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: physical block device (pblk) target 2017-04-16 10:06:33 -06:00
pblk-core.c lightnvm: physical block device (pblk) target 2017-04-16 10:06:33 -06:00
pblk-gc.c lightnvm: pblk-gc: fix an error pointer dereference in init 2017-04-16 10:06:34 -06:00
pblk-init.c lightnvm: physical block device (pblk) target 2017-04-16 10:06:33 -06:00
pblk-map.c lightnvm: physical block device (pblk) target 2017-04-16 10:06:33 -06:00
pblk-rb.c lightnvm: physical block device (pblk) target 2017-04-16 10:06:33 -06:00
pblk-read.c lightnvm: physical block device (pblk) target 2017-04-16 10:06:33 -06:00
pblk-recovery.c lightnvm: physical block device (pblk) target 2017-04-16 10:06:33 -06:00
pblk-rl.c lightnvm: physical block device (pblk) target 2017-04-16 10:06:33 -06:00
pblk-sysfs.c lightnvm: physical block device (pblk) target 2017-04-16 10:06:33 -06:00
pblk-write.c lightnvm: physical block device (pblk) target 2017-04-16 10:06:33 -06:00
pblk.h lightnvm: physical block device (pblk) target 2017-04-16 10:06:33 -06:00
rrpc.c lightnvm: fix type checks on rrpc 2017-04-16 10:06:25 -06:00
rrpc.h lightnvm: use end_io callback instead of instance 2017-01-31 08:32:13 -07:00