diff options
author | Christian Brauner <brauner@kernel.org> | 2022-10-17 18:06:35 +0300 |
---|---|---|
committer | Christian Brauner (Microsoft) <brauner@kernel.org> | 2022-10-18 11:09:46 +0300 |
commit | e243e3f94c804ecca9a8241b5babe28f35258ef4 (patch) | |
tree | fc09ac739fbc79f29e93facad741477ec38b84be /fs/remap_range.c | |
parent | 11c2a8700cdcabf9b639b7204a1e38e2a0b6798e (diff) | |
download | linux-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