Jan Kara abc77577a6 fsnotify: Provide framework for dropping SRCU lock in ->handle_event
fanotify wants to drop fsnotify_mark_srcu lock when waiting for response
from userspace so that the whole notification subsystem is not blocked
during that time. This patch provides a framework for safely getting
mark reference for a mark found in the object list which pins the mark
in that list. We can then drop fsnotify_mark_srcu, wait for userspace
response and then safely continue iteration of the object list once we
reaquire fsnotify_mark_srcu.

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
..
2017-02-27 18:43:46 -08:00
2017-02-27 18:43:46 -08:00
2017-02-27 18:43:46 -08:00
2017-01-30 16:32:25 -08:00
2016-12-14 23:48:11 -05:00
2017-02-27 18:43:46 -08:00
2016-12-05 19:03:49 -05:00
2017-03-10 08:59:07 -08:00