linux/fs/notify/fanotify
Lino Sanfilippo d8153d4d8b inotify, fanotify: replace fsnotify_put_group() with fsnotify_destroy_group()
Currently in fsnotify_put_group() the ref count of a group is decremented and if
it becomes 0 fsnotify_destroy_group() is called. Since a groups ref count is only
at group creation set to 1 and never increased after that a call to fsnotify_put_group()
always results in a call to fsnotify_destroy_group().
With this patch fsnotify_destroy_group() is called directly.

Signed-off-by: Lino Sanfilippo <LinoSanfilippo@gmx.de>
Signed-off-by: Eric Paris <eparis@redhat.com>
2012-12-11 13:29:43 -05:00
..
fanotify_user.c inotify, fanotify: replace fsnotify_put_group() with fsnotify_destroy_group() 2012-12-11 13:29:43 -05:00
fanotify.c fanotify: on group destroy allow all waiters to bypass permission check 2010-12-07 16:14:22 -05:00
Kconfig Kconfig: typo: and -> an 2010-11-01 15:17:29 -04:00
Makefile fanotify: fanotify_init syscall declaration 2010-07-28 09:58:55 -04:00