diff options
| author | Hongbo Li <[email protected]> | 2024-08-16 14:38:49 +0800 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2024-08-30 08:22:37 +0200 |
| commit | 1aeb6defd11f28cf5d474f0a00875323c0d143b3 (patch) | |
| tree | d0a940aa7e35175f21757079e1e1a1fe362931af /tools/perf/scripts/python | |
| 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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Jan Kara <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions