mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-22 19:14:51 +00:00
fsnotify: add a way to stop queueing events on group shutdown
[ Upstream commit12703dbfeb] 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:5838d4442b("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> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
This commit is contained in:
parent
8a66ed3130
commit
05eb9c0772
3 changed files with 29 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue