Re: [RFC PATCH 1/4] init: move block device helpers from init/do_mounts.c
From: Christoph Hellwig
Date: Thu Nov 17 2022 - 00:56:12 EST
On Thu, Nov 17, 2022 at 12:42:43AM +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.
Yes, they should be moved and I have an old patch to do this a bit
smarter. But that doesn't mean anyone else should call them.