diff options
| author | Hongbo Li <lihongbo22@huawei.com> | 2024-08-16 09:38:49 +0300 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2024-08-30 09:22:37 +0300 |
| commit | 1aeb6defd11f28cf5d474f0a00875323c0d143b3 (patch) | |
| tree | d0a940aa7e35175f21757079e1e1a1fe362931af /tools/perf/scripts/python/sched-migration.py | |
| parent | b381fbbccb4cb60aefa1ab7f8e3766ddb4a461db (diff) | |
| download | linux-1aeb6defd11f28cf5d474f0a00875323c0d143b3.tar.xz | |
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 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
