diff options
author | Amir Goldstein <amir73il@gmail.com> | 2022-04-22 15:03:24 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2022-04-25 14:43:01 +0200 |
commit | 8998d110835e3781ccd3f1ae061a590b4aaba911 (patch) | |
tree | 92496d2f70e2bf62c947af94d7e807716b5e7675 /fs/eventfd.c | |
parent | 4adce25ccfff215939ee465b8c0aa70526d5c352 (diff) | |
download | linux-next-8998d110835e3781ccd3f1ae061a590b4aaba911.tar.gz |
fanotify: factor out helper fanotify_mark_update_flags()
Handle FAN_MARK_IGNORED_SURV_MODIFY flag change in a helper that
is called after updating the mark mask.
Replace the added and removed return values and help variables with
bool recalc return values and help variable, which makes the code a
bit easier to follow.
Rename flags argument to fan_flags to emphasize the difference from
mark->flags.
Link: https://lore.kernel.org/r/20220422120327.3459282-14-amir73il@gmail.com
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/eventfd.c')
0 files changed, 0 insertions, 0 deletions