diff options
author | Christoph Hellwig <hch@lst.de> | 2021-08-24 16:43:10 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-08-24 10:10:08 -0600 |
commit | 9f2869921f2a102e209297d4f742f34b46ed3d36 (patch) | |
tree | e88e807194cc03f4fdd0dfc56267dcc2c63d84ae /block/blk-ioc.c | |
parent | 1743fa54c9e8247000e060fcdab406ab3a808223 (diff) |
block: refine the disk_live check in del_gendisk
hidden gendisks will never be marked live.
Fixes: 40b3a52ffc5b ("block: add a sanity check for a live disk in del_gendisk")
Reported-by: Bruno Goncalves <bgoncalv@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210824144310.1487816-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-ioc.c')
0 files changed, 0 insertions, 0 deletions