linux-stable/fs/notify/inotify
Jan Kara 7b12932340 fsnotify: Add group pointer in fsnotify_init_mark()
Currently we initialize mark->group only in fsnotify_add_mark_lock().
However we will need to access fsnotify_ops of corresponding group from
fsnotify_put_mark() so we need mark->group initialized earlier. Do that
in fsnotify_init_mark() which has a consequence that once
fsnotify_init_mark() is called on a mark, the mark has to be destroyed
by fsnotify_put_mark().

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:36 +02:00
..
inotify.h fsnotify: Pass fsnotify_iter_info into handle_event handler 2017-04-10 17:37:36 +02:00
inotify_fsnotify.c fsnotify: Pass fsnotify_iter_info into handle_event handler 2017-04-10 17:37:36 +02:00
inotify_user.c fsnotify: Add group pointer in fsnotify_init_mark() 2017-04-10 17:37:36 +02: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