]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mount: simplify __do_loopback()
authorChristian Brauner <brauner@kernel.org>
Thu, 22 Jan 2026 10:48:47 +0000 (11:48 +0100)
committerChristian Brauner <brauner@kernel.org>
Thu, 12 Mar 2026 12:33:53 +0000 (13:33 +0100)
commitad4a3599e58d5ac0caa3f576c48a4b62f38d400d
tree0ad5e8d68c48c284dbdb12dbeef47881a860d35f
parent0c0b046392b5b6e2402bf75215ab0c3a242d7af5
mount: simplify __do_loopback()

Remove the OPEN_TREE_NAMESPACE flag checking from __do_loopback() and
instead have callers pass CL_COPY_MNT_NS_FILE directly in copy_flags.

Link: https://patch.msgid.link/20260122-work-fsmount-namespace-v1-2-5ef0a886e646@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/namespace.c