fsnotify: Move locking into fsnotify_recalc_mask()
Move locking of locks protecting a list of marks into fsnotify_recalc_mask(). This reduces code churn in the following patch which changes the lock protecting the list of marks. Reviewed-by:Miklos Szeredi <mszeredi@redhat.com> Reviewed-by:
Amir Goldstein <amir73il@gmail.com> Signed-off-by:
Jan Kara <jack@suse.cz>
Showing
- fs/notify/dnotify/dnotify.c 1 addition, 2 deletionsfs/notify/dnotify/dnotify.c
- fs/notify/fsnotify.h 0 additions, 3 deletionsfs/notify/fsnotify.h
- fs/notify/inode_mark.c 3 additions, 15 deletionsfs/notify/inode_mark.c
- fs/notify/mark.c 30 additions, 10 deletionsfs/notify/mark.c
- fs/notify/vfsmount_mark.c 3 additions, 10 deletionsfs/notify/vfsmount_mark.c
- include/linux/fsnotify_backend.h 2 additions, 0 deletionsinclude/linux/fsnotify_backend.h
Please register or sign in to comment