Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
block: refine the disk_live check in del_gendisk
hidden gendisks will never be marked live. Fixes: 40b3a52 ("block: add a sanity check for a live disk in del_gendisk") Reported-by: Bruno Goncalves <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information