Re: [PATCH 22/24] mtd: block2mtd: factor the early block device open logic into a helper

From: Miquel Raynal
Date: Tue May 23 2023 - 05:32:50 EST


Hi Christoph,

hch@xxxxxx wrote on Tue, 23 May 2023 09:45:33 +0200:

> Simply add_device a bit by splitting out the cumbersome early boot logic

I guess you meant "Simplify..."

Otherwise lgtm so,

Reviewed-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>

> into a separate helper.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> ---
> drivers/mtd/devices/block2mtd.c | 53 +++++++++++++++++++--------------
> 1 file changed, 30 insertions(+), 23 deletions(-)
>

Thanks,
Miquèl