mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
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>
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user