diff options
author | Christoph Hellwig <hch@lst.de> | 2021-08-09 08:40:26 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-08-12 10:29:36 -0600 |
commit | 224b0683228c5f332f9cee615d85e75e9a347170 (patch) | |
tree | 3bd1100e1205aee7ed98c84c404418869626e2fb /block/genhd.c | |
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>
Diffstat (limited to 'block/genhd.c')
0 files changed, 0 insertions, 0 deletions