aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorHongbo Li <[email protected]>2024-08-16 14:38:49 +0800
committerChristian Brauner <[email protected]>2024-08-30 08:22:37 +0200
commit1aeb6defd11f28cf5d474f0a00875323c0d143b3 (patch)
treed0a940aa7e35175f21757079e1e1a1fe362931af /lib/memory-notifier-error-inject.c
parentb381fbbccb4cb60aefa1ab7f8e3766ddb4a461db (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 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions