aboutsummaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2021-08-18 16:45:32 +0200
committerJens Axboe <[email protected]>2021-08-23 12:55:45 -0600
commit40b3a52ffc5bc3b5427d5d35b035cfb19d03fdd6 (patch)
treef385e3f1902e95c68dec0b90f4fe6e8fc46ea7cf /lib/debugobjects.c
parentd152c682f03ceb65c0d9663d4ba6ee2d46aa784d (diff)
block: add a sanity check for a live disk in del_gendisk
Add a sanity check to del_gendisk to do nothing when the disk wasn't successfully added. This papers over the complete lack of add_disk error handling, which is about to get fixed gradually. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions