On 11/14/19 3:34 PM, Christoph Hellwig wrote: > Large parts of rescan_partitions aren't about partitions, and > moving it to block_dev.c will allow for some further cleanups by > merging it into its only caller. > > Signed-off-by: Christoph Hellwig <hch@xxxxxx> > Reviewed-by: Jan Kara <jack@xxxxxxx> > --- > block/partition-generic.c | 37 ++----------------------------------- > fs/block_dev.c | 38 ++++++++++++++++++++++++++++++++++++-- > include/linux/fs.h | 2 -- > include/linux/genhd.h | 4 ++-- > 4 files changed, 40 insertions(+), 41 deletions(-) > Reviewed-by: Hannes Reinecke <hare@xxxxxxx> Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking hare@xxxxxxx +49 911 74053 688 SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 247165 (AG München), GF: Felix Imendörffer