[PATCH 18/45] init: refactor devt_from_partuuid
Hannes Reinecke
hare at suse.de
Mon Nov 30 02:16:20 EST 2020
On 11/28/20 5:14 PM, Christoph Hellwig wrote:
> The code in devt_from_partuuid is very convoluted. Refactor a bit by
> sanitizing the goto and variable name usage.
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> Reviewed-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Reviewed-by: Jan Kara <jack at suse.cz>
> Acked-by: Tejun Heo <tj at kernel.org>
> ---
> init/do_mounts.c | 68 ++++++++++++++++++++++--------------------------
> 1 file changed, 31 insertions(+), 37 deletions(-)
> Reviewed-by: Hannes Reinecke <hare at suse.de>
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare at suse.de +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer
More information about the linux-mtd
mailing list