Skip to content
Commit 90fbd8b1 authored by Christian Brauner's avatar Christian Brauner
Browse files

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: default avatarChristian Brauner <brauner@kernel.org>
parent e65a29f0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment