]> git.ipfire.org Git - thirdparty/linux.git/commit
mnt_idmapping: remove check_fsmapping()
authorChristian Brauner <brauner@kernel.org>
Wed, 22 Nov 2023 12:44:37 +0000 (13:44 +0100)
committerChristian Brauner <brauner@kernel.org>
Tue, 28 Nov 2023 13:08:47 +0000 (14:08 +0100)
commite65a29f0235a438ece414d2d99bbf0d31aa97d04
tree46769d8cf28e5f2a74c8dd632dd7589b0a083da7
parent71eb6b6b0ba93b1467bccff57b5de746b09113d2
mnt_idmapping: remove check_fsmapping()

The helper is a bit pointless. Just open-code the check.

Link: https://lore.kernel.org/r/20231122-vfs-mnt_idmap-v1-1-dae4abdde5bd@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/mnt_idmapping.c
fs/namespace.c
include/linux/mnt_idmapping.h