summaryrefslogtreecommitdiff
path: root/fs/remap_range.c
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2022-10-17 18:06:35 +0300
committerChristian Brauner (Microsoft) <brauner@kernel.org>2022-10-18 11:09:46 +0300
commite243e3f94c804ecca9a8241b5babe28f35258ef4 (patch)
treefc09ac739fbc79f29e93facad741477ec38b84be /fs/remap_range.c
parent11c2a8700cdcabf9b639b7204a1e38e2a0b6798e (diff)
downloadlinux-e243e3f94c804ecca9a8241b5babe28f35258ef4.tar.xz
fs: move should_remove_suid()
Move the helper from inode.c to attr.c. This keeps the the core of the set{g,u}id stripping logic in one place when we add follow-up changes. It is the better place anyway, since should_remove_suid() returns ATTR_KILL_S{G,U}ID flags. Reviewed-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Diffstat (limited to 'fs/remap_range.c')
0 files changed, 0 insertions, 0 deletions