diff options
| author | Jan Kara <jack@suse.cz> | 2016-09-19 14:44:27 -0700 |
|---|---|---|
| committer | Ben Hutchings <ben@decadent.org.uk> | 2016-11-20 01:17:33 +0000 |
| commit | 460da2d56d7c6f27259a92c4b31b3445049ff343 (patch) | |
| tree | 4cdc9c0dd27db8d27e365b8231a2b45101ece781 /include/linux/input | |
| parent | a8e9bf763bd11ba5e51e139da664b39ec074a0ec (diff) | |
fsnotify: add a way to stop queueing events on group shutdown
commit 12703dbfeb15402260e7554d32a34ac40c233990 upstream.
Implement a function that can be called when a group is being shutdown
to stop queueing new events to the group. Fanotify will use this.
Fixes: 5838d4442bd5 ("fanotify: fix double free of pending permission events")
Link: http://lkml.kernel.org/r/1473797711-14111-2-git-send-email-jack@suse.cz
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
[bwh: Backported to 3.16: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/linux/input')
0 files changed, 0 insertions, 0 deletions
