commit | 224b0683228c5f332f9cee615d85e75e9a347170 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Aug 09 08:40:26 2021 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Aug 12 10:29:36 2021 -0600 |
tree | 3bd1100e1205aee7ed98c84c404418869626e2fb | |
parent | 4f9e14aecfbdc6b762d5122489604858c5fec5e7 [diff] |
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> 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>