summaryrefslogtreecommitdiff
path: root/fs/notify/group.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2014-02-21 18:07:54 (GMT)
committerJan Kara <jack@suse.cz>2014-02-25 10:17:58 (GMT)
commit482ef06c5e946aae360f247dc69471ec031e09d2 (patch)
treeea36241c3ff91d0ec915e6825caa2f806db938ba /fs/notify/group.c
parent2513190a926f093dbdc301c68e6ade0bcf293f9a (diff)
downloadlinux-482ef06c5e946aae360f247dc69471ec031e09d2.tar.xz
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: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/notify/group.c')
0 files changed, 0 insertions, 0 deletions