diff options
author | Hongbo Li <lihongbo22@huawei.com> | 2024-08-16 14:38:49 +0800 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-08-30 08:22:37 +0200 |
commit | 1aeb6defd11f28cf5d474f0a00875323c0d143b3 (patch) | |
tree | d0a940aa7e35175f21757079e1e1a1fe362931af /Documentation/filesystems/idmappings.rst | |
parent | b381fbbccb4cb60aefa1ab7f8e3766ddb4a461db (diff) |
fs: Use in_group_or_capable() helper to simplify the code
Since in_group_or_capable has been exported, we can use
it to simplify the code when check group and capable.
Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Link: https://lore.kernel.org/r/20240816063849.1989856-1-lihongbo22@huawei.com
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'Documentation/filesystems/idmappings.rst')
0 files changed, 0 insertions, 0 deletions