]> git.ipfire.org Git - thirdparty/linux.git/commit
fs: add init_pivot_root()
authorChristian Brauner <brauner@kernel.org>
Mon, 12 Jan 2026 15:47:09 +0000 (16:47 +0100)
committerChristian Brauner <brauner@kernel.org>
Mon, 12 Jan 2026 15:52:09 +0000 (16:52 +0100)
commit3c1b73fc6a4d7bc5469ab2679ef954f7b754d34b
treec2ef6e8c2d13b54851e40b0f5f27dee82b599815
parenta2062463e894039a6fdc2334b96afd91d44b64a8
fs: add init_pivot_root()

We will soon be able to pivot_root() with the introduction of the
immutable rootfs. Add a wrapper for kernel internal usage.

Link: https://patch.msgid.link/20260112-work-immutable-rootfs-v2-2-88dd1c34a204@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/init.c
fs/internal.h
fs/namespace.c
include/linux/init_syscalls.h