diff options
author | Christoph Hellwig <hch@lst.de> | 2019-11-14 15:34:32 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-11-14 15:40:55 +0100 |
commit | f902b02600028dfc0c9df811eb711ac7d7fca09f (patch) | |
tree | 86611dbc07ee58daf2a007ababc485bce61eb0c2 /fs/block_dev.c | |
parent | block: rework zone reporting (diff) | |
download | linux-f902b02600028dfc0c9df811eb711ac7d7fca09f.tar.xz linux-f902b02600028dfc0c9df811eb711ac7d7fca09f.zip |
block: refactor rescan_partitions
Split out a helper that adds one single partition, and another one
calling that dealing with the parsed_partitions state. This makes
it much more obvious how we clean up all state and start again when
using the rescan label.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/block_dev.c')
0 files changed, 0 insertions, 0 deletions