diff options
author | Christoph Hellwig <hch@lst.de> | 2021-08-09 08:40:27 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-08-12 18:29:36 +0200 |
commit | b75f4aed88febe903bd40a6128b74edd2388417e (patch) | |
tree | 313a76723500623fee32f4a93b317785a5875e8e /.get_maintainer.ignore | |
parent | bcache: add proper error unwinding in bcache_device_init (diff) | |
download | linux-b75f4aed88febe903bd40a6128b74edd2388417e.tar.xz linux-b75f4aed88febe903bd40a6128b74edd2388417e.zip |
bcache: move the del_gendisk call out of bcache_device_free
Let the callers call del_gendisk so that we can check if add_disk
has been called properly for the cached device case instead of relying
on the block layer internal GENHD_FL_UP flag.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Coly Li <colyli@suse.de>
Link: https://lore.kernel.org/r/20210809064028.1198327-8-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions