Re: [RFC PATCH 1/2] init: move block device helpers from init/do_mounts.c

From: Christoph Hellwig
Date: Wed Dec 14 2022 - 11:44:34 EST


On Tue, Dec 13, 2022 at 12:45:42PM +0000, Daniel Golle wrote:
> In init/do_mounts.c there are helper functions devt_from_partuuid,
> devt_from_partlabel and devt_from_devname. In order to make these
> functions available to other users, move them to block/bdev.c.

NAK. As pointed out many times there should be no more users.
These functions are a horrible hack forthe pre-initramfs boot
code and should not grow any additional users.