-
- Downloads
fsnotify: pass flags argument to fsnotify_alloc_group()
Add flags argument to fsnotify_alloc_group(), define and use the flag FSNOTIFY_GROUP_USER in inotify and fanotify instead of the helper fsnotify_alloc_user_group() to indicate user allocation. Although the flag FSNOTIFY_GROUP_USER is currently not used after group allocation, we store the flags argument in the group struct for future use of other group flags. Link: https://lore.kernel.org/r/20220422120327.3459282-5-amir73il@gmail.com Signed-off-by:Amir Goldstein <amir73il@gmail.com> Signed-off-by:
Jan Kara <jack@suse.cz>
Showing
- fs/nfsd/filecache.c 2 additions, 1 deletionfs/nfsd/filecache.c
- fs/notify/dnotify/dnotify.c 1 addition, 1 deletionfs/notify/dnotify/dnotify.c
- fs/notify/fanotify/fanotify_user.c 2 additions, 1 deletionfs/notify/fanotify/fanotify_user.c
- fs/notify/group.c 9 additions, 12 deletionsfs/notify/group.c
- fs/notify/inotify/inotify_user.c 2 additions, 1 deletionfs/notify/inotify/inotify_user.c
- include/linux/fsnotify_backend.h 6 additions, 2 deletionsinclude/linux/fsnotify_backend.h
- kernel/audit_fsnotify.c 2 additions, 1 deletionkernel/audit_fsnotify.c
- kernel/audit_tree.c 1 addition, 1 deletionkernel/audit_tree.c
- kernel/audit_watch.c 1 addition, 1 deletionkernel/audit_watch.c
Loading
Please register or sign in to comment