kernel_optimize_test/fs/notify/inotify
Jan Kara e725376058 inotify: Do not drop mark reference under idr_lock
Dropping mark reference can result in mark being freed. Although it
should not happen in inotify_remove_from_idr() since caller should hold
another reference, just don't risk lock up just after WARN_ON
unnecessarily. Also fold do_inotify_remove_from_idr() into the single
callsite as that function really is just two lines of real code.

Reviewed-by: Miklos Szeredi <mszeredi@redhat.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
2017-04-10 17:37:35 +02:00
..
inotify_fsnotify.c inotify: Remove inode pointers from debug messages 2017-04-03 16:56:34 +02:00
inotify_user.c inotify: Do not drop mark reference under idr_lock 2017-04-10 17:37:35 +02:00
inotify.h inotify: Convert to using per-namespace limits 2017-01-24 12:03:07 +13:00
Kconfig inotify: remove inotify in kernel interface 2010-07-28 09:58:31 -04:00
Makefile inotify: remove inotify in kernel interface 2010-07-28 09:58:31 -04:00