diff options
author | Christoph Hellwig <[email protected]> | 2021-04-06 08:22:55 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-04-08 10:24:36 -0600 |
commit | d3c4a43d9291279c28b26757351a6ab72c110753 (patch) | |
tree | 191523e681fdff315c7e14029ace1a42ce1aaa5e /scripts/gdb/linux | |
parent | 473338be3aaea117a7133720305f240eb7f68951 (diff) |
block: refactor blk_drop_partitions
Move the busy check and disk-wide sync into the only caller, so that
the remainder can be shared with del_gendisk. Also pass the gendisk
instead of the bdev as that is all that is needed.
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 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions