diff options
author | Jan Kara <jack@suse.cz> | 2016-11-10 17:51:50 +0100 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2017-04-10 17:37:36 +0200 |
commit | 9385a84d7e1f658bb2d96ab798393e4b16268aaa (patch) | |
tree | dd5d112c6bb46d97069645a2e34a38c5998e1234 /scripts | |
parent | abc77577a669f424c5d0c185b9994f2621c52aa4 (diff) |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions