diff options
author | Christoph Hellwig <[email protected]> | 2021-08-24 16:43:10 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-08-24 10:10:08 -0600 |
commit | 9f2869921f2a102e209297d4f742f34b46ed3d36 (patch) | |
tree | e88e807194cc03f4fdd0dfc56267dcc2c63d84ae /lib/test_fortify/write_overflow-memcpy.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 <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions