]> www.infradead.org Git - users/hch/block.git/commit
bcache: add proper error unwinding in bcache_device_init
authorChristoph Hellwig <hch@lst.de>
Wed, 4 Aug 2021 14:18:37 +0000 (16:18 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 9 Aug 2021 06:35:54 +0000 (08:35 +0200)
commit2783ac59647638d1f0c871f53c0d9bc3ba32c60e
treee5731d509338b3a6a7193e8e7a47eb0118faaa07
parentd37432b5b66010054b81f518a717c34e068625ed
bcache: add proper error unwinding in bcache_device_init

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>
drivers/md/bcache/super.c