fsnotify: Move locking into fsnotify_find_mark()
authorJan Kara <jack@suse.cz>
Wed, 15 Mar 2017 08:33:58 +0000 (09:33 +0100)
committerJan Kara <jack@suse.cz>
Mon, 10 Apr 2017 15:37:35 +0000 (17:37 +0200)
commitf06fd98759451876f51607f60abd74c89b141610
treedbdaa1e77b6c9f9e32119afc6c693d7efd53eb86
parenta242677bb1e6faa9bd82bd33afb2621071258231
fsnotify: Move locking into fsnotify_find_mark()

Move locking of a mark list into fsnotify_find_mark(). This reduces code
churn in the following patch changing lock protecting the list.

Reviewed-by: Miklos Szeredi <mszeredi@redhat.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/notify/inode_mark.c
fs/notify/mark.c
fs/notify/vfsmount_mark.c