Skip to content
Commit 6c4541a8 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe
Browse files

block: simplify partition removal



Always look up the first available entry instead of the complicated
stateful traversal.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210406062303.811835-7-hch@lst.de


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent c76f48eb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment