fsnotify: Move locking into fsnotify_recalc_mask()
authorJan Kara <jack@suse.cz>
Wed, 15 Mar 2017 08:16:27 +0000 (09:16 +0100)
committerJan Kara <jack@suse.cz>
Mon, 10 Apr 2017 15:37:35 +0000 (17:37 +0200)
commita242677bb1e6faa9bd82bd33afb2621071258231
tree853a675a0c61c182b834b1ced7d7e745c1eb3133
parent0810b4f9f207910d90aee56d312d25f334796363
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>
fs/notify/dnotify/dnotify.c
fs/notify/fsnotify.h
fs/notify/inode_mark.c
fs/notify/mark.c
fs/notify/vfsmount_mark.c
include/linux/fsnotify_backend.h