linux/fs/notify
Jan Kara 9385a84d7e fsnotify: Pass fsnotify_iter_info into handle_event handler
Pass fsnotify_iter_info into ->handle_event() handler so that it can
release and reacquire SRCU lock via fsnotify_prepare_user_wait() and
fsnotify_finish_user_wait() functions.  These functions also make sure
current marks are appropriately pinned so that iteration protected by
srcu in fsnotify() stays safe.

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
..
dnotify fsnotify: Pass fsnotify_iter_info into handle_event handler 2017-04-10 17:37:36 +02:00
fanotify fsnotify: Pass fsnotify_iter_info into handle_event handler 2017-04-10 17:37:36 +02:00
inotify fsnotify: Pass fsnotify_iter_info into handle_event handler 2017-04-10 17:37:36 +02:00
fdinfo.c fsnotify: Move object pointer to fsnotify_mark_connector 2017-04-10 17:37:35 +02:00
fdinfo.h fs: Convert show_fdinfo functions to void 2014-11-05 14:13:23 -05:00
fsnotify.c fsnotify: Pass fsnotify_iter_info into handle_event handler 2017-04-10 17:37:36 +02:00
fsnotify.h fsnotify: Provide framework for dropping SRCU lock in ->handle_event 2017-04-10 17:37:36 +02:00
group.c fsnotify: Provide framework for dropping SRCU lock in ->handle_event 2017-04-10 17:37:36 +02:00
inode_mark.c fsnotify: Free fsnotify_mark_connector when there is no mark attached 2017-04-10 17:37:35 +02:00
Kconfig rcu: Make SRCU optional by using CONFIG_SRCU 2015-01-06 11:04:29 -08:00
Makefile fs, notify: add procfs fdinfo helper 2012-12-17 17:15:28 -08:00
mark.c fsnotify: Provide framework for dropping SRCU lock in ->handle_event 2017-04-10 17:37:36 +02:00
notification.c fsnotify: clean up spinlock assertions 2016-10-07 18:46:26 -07:00
vfsmount_mark.c fsnotify: Free fsnotify_mark_connector when there is no mark attached 2017-04-10 17:37:35 +02:00