aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2019-11-14 15:34:32 +0100
committerJens Axboe <[email protected]>2019-11-14 07:40:55 -0700
commitf902b02600028dfc0c9df811eb711ac7d7fca09f (patch)
tree86611dbc07ee58daf2a007ababc485bce61eb0c2 /lib/netdev-notifier-error-inject.c
parentd41003513e61dd9d4974cb441d30b63650b85654 (diff)
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 <[email protected]> Reviewed-by: Jan Kara <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions