Skip to content
Commit 482ef06c authored by Jan Kara's avatar Jan Kara
Browse files

fanotify: Handle overflow in case of permission events



If the event queue overflows when we are handling permission event, we
will never get response from userspace. So we must avoid waiting for it.
Change fsnotify_add_notify_event() to return whether overflow has
happened so that we can detect it in fanotify_handle_event() and act
accordingly.

Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 2513190a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment