Christoph Hellwig 6917d06899 block: merge invalidate_partitions into rescan_partitions
A lot of the logic in invalidate_partitions and rescan_partitions is
shared.  Merge the two functions to simplify things.  There is a small
behavior change in that we now send the kevent change notice also if we
were not invalidating but no partitions were found, which seems like
the right thing to do.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-11-14 07:42:41 -07:00
..
2019-07-09 10:45:06 -07:00
2019-10-07 08:31:59 -06:00
2019-09-19 13:27:23 -07:00
2019-10-07 21:19:10 -06:00
2019-11-12 19:12:07 -07:00
2019-07-15 09:20:27 -03:00
2019-10-07 08:31:59 -06:00