Re: [PATCH 12/24] init: add an init_mount helper
From: Al Viro <viro@zeniv.linux.org.uk>
Date: 2020-07-21 17:03:50
Also in:
linux-fsdevel, linux-raid, lkml
From: Al Viro <viro@zeniv.linux.org.uk>
Date: 2020-07-21 17:03:50
Also in:
linux-fsdevel, linux-raid, lkml
On Tue, Jul 21, 2020 at 06:28:06PM +0200, Christoph Hellwig wrote:
Like do_mount, but takes a kernel pointer for the destination path. Switch over the mounts in the init code and devtmpfs to it, which just happen to work due to the implicit set_fs(KERNEL_DS) during early init right now.
init/fs.c | 20 ++++++++++++++++++++
fs/for_init.c, please.