summaryrefslogtreecommitdiff
path: root/kernel/user_namespace.c
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2023-11-22 13:44:38 +0100
committerChristian Brauner <brauner@kernel.org>2023-11-28 14:08:47 +0100
commit90fbd8b175ee75ee3d37d748b92bc317660b586d (patch)
treec98ed6bdbad4e3a9a3bd5bc293370be4642d1f77 /kernel/user_namespace.c
parente65a29f0235a438ece414d2d99bbf0d31aa97d04 (diff)
mnt_idmapping: remove nop check
All mounts default to nop_mnt_idmap and we don't allow creating idmapped mounts that reuse the idmapping of the filesystem. So unless someone passes a non-superblock namespace to these helpers this check will always be false. Remove it and replace it with a simple check for nop_mnt_idmap. Link: https://lore.kernel.org/r/20231122-vfs-mnt_idmap-v1-2-dae4abdde5bd@kernel.org Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'kernel/user_namespace.c')
0 files changed, 0 insertions, 0 deletions