diff options
author | Youling Tang <tangyouling@kylinos.cn> | 2024-06-20 11:23:33 +0800 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-06-25 11:15:48 +0200 |
commit | 9b6a14f08b4875aa22ea0b5bc35042e2580b311b (patch) | |
tree | 3156ae785134354ca3c82002a6e3da6249f7b745 /fs/attr.c | |
parent | 5e362bd5eecdd7ccafc9611a108a53423ccd5065 (diff) |
fs: Export in_group_or_capable()
Export in_group_or_capable() as a VFS helper function.
Signed-off-by: Youling Tang <tangyouling@kylinos.cn>
Link: https://lore.kernel.org/r/20240620032335.147136-1-youling.tang@linux.dev
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/attr.c')
-rw-r--r-- | fs/attr.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/attr.c b/fs/attr.c index 960a310581eb..825007d5cda4 100644 --- a/fs/attr.c +++ b/fs/attr.c @@ -17,8 +17,6 @@ #include <linux/filelock.h> #include <linux/security.h> -#include "internal.h" - /** * setattr_should_drop_sgid - determine whether the setgid bit needs to be * removed |