diff options
author | Christian Brauner <brauner@kernel.org> | 2023-11-22 15:44:37 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-11-28 16:08:47 +0300 |
commit | e65a29f0235a438ece414d2d99bbf0d31aa97d04 (patch) | |
tree | 46769d8cf28e5f2a74c8dd632dd7589b0a083da7 /include/linux/mnt_idmapping.h | |
parent | 71eb6b6b0ba93b1467bccff57b5de746b09113d2 (diff) | |
download | linux-e65a29f0235a438ece414d2d99bbf0d31aa97d04.tar.xz |
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>
Diffstat (limited to 'include/linux/mnt_idmapping.h')
-rw-r--r-- | include/linux/mnt_idmapping.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/mnt_idmapping.h b/include/linux/mnt_idmapping.h index b8da2db4ecd2..cd4d5c8781f5 100644 --- a/include/linux/mnt_idmapping.h +++ b/include/linux/mnt_idmapping.h @@ -244,7 +244,4 @@ static inline kgid_t mapped_fsgid(struct mnt_idmap *idmap, return from_vfsgid(idmap, fs_userns, VFSGIDT_INIT(current_fsgid())); } -bool check_fsmapping(const struct mnt_idmap *idmap, - const struct super_block *sb); - #endif /* _LINUX_MNT_IDMAPPING_H */ |