fsnotify: take inode->i_lock inside fsnotify_find_mark_entry()
authorAndreas Gruenbacher <agruen@suse.de>
Fri, 18 Dec 2009 02:24:25 +0000 (21:24 -0500)
committerEric Paris <eparis@redhat.com>
Wed, 28 Jul 2010 13:58:54 +0000 (09:58 -0400)
commit35566087099c3ff8901d65ee98af56347ee66e5a
treee4e56bcf787e5f100fa1ea0138c417e1203b10ae
parentef5e2b785fb3216269e6d0656d38ec286b98dbe5
fsnotify: take inode->i_lock inside fsnotify_find_mark_entry()

All callers to fsnotify_find_mark_entry() except one take and
release inode->i_lock around the call.  Take the lock inside
fsnotify_find_mark_entry() instead.

Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
Signed-off-by: Eric Paris <eparis@redhat.com>
fs/notify/dnotify/dnotify.c
fs/notify/inode_mark.c
fs/notify/inotify/inotify_fsnotify.c
fs/notify/inotify/inotify_user.c
kernel/audit_tree.c
kernel/audit_watch.c