Re: [PATCH 3/7] block: move rescan_partitions to fs/block_dev.c

Hannes Reinecke
2019-11-15T10:06:21Z

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@lst.de>
> Reviewed-by: Jan Kara <jack@suse.cz>
> ---
> 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@suse.de>

Cheers,

Hannes
--
Dr. Hannes Reinecke Teamlead Storage & Networking
hare@suse.de +49 911 74053 688
SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 247165 (AG München), GF: Felix Imendörffer