linux-stable/drivers/md/bcache
Christoph Hellwig 93cf19b4d9 bcache: add proper error unwinding in bcache_device_init
[ Upstream commit 224b068322 ]

Except for the IDA none of the allocations in bcache_device_init is
unwound on error, fix that.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Coly Li <colyli@suse.de>
Link: https://lore.kernel.org/r/20210809064028.1198327-7-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-15 09:47:27 +02:00
..
alloc.c
bcache.h bcache: Move journal work to new flush wq 2021-03-04 10:26:43 +01:00
bset.c bcache: allocate meta data pages as compound pages 2020-08-21 13:05:25 +02:00
bset.h bcache: explicity type cast in bset_bkey_last() 2020-02-24 08:37:01 +01:00
btree.c bcache: Give btree_io_wq correct semantics again 2021-03-04 10:26:42 +01:00
btree.h
closure.c
closure.h
debug.c
debug.h
extents.c
extents.h
io.c
journal.c bcache: Move journal work to new flush wq 2021-03-04 10:26:43 +01:00
journal.h
Kconfig
Makefile
movinggc.c
request.c
request.h
stats.c bcache: fix memory corruption in bch_cache_accounting_clear() 2020-02-24 08:37:01 +01:00
stats.h
super.c bcache: add proper error unwinding in bcache_device_init 2021-09-15 09:47:27 +02:00
sysfs.c
sysfs.h
trace.c
util.c
util.h
writeback.c bcache: fix overflow in offset_to_stripe() 2020-08-21 13:05:25 +02:00
writeback.h bcache: fix overflow in offset_to_stripe() 2020-08-21 13:05:25 +02:00