diff options
author | Lino Sanfilippo <LinoSanfilippo@gmx.de> | 2011-06-14 17:29:45 +0200 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2012-12-11 13:29:43 -0500 |
commit | d8153d4d8b7b6141770e1416c4a338161205ed1b (patch) | |
tree | e353338c1b5be16c5b0d2bc4f1f698d982a00319 /Documentation | |
parent | a0d271cbfed1dd50278c6b06bead3d00ba0a88f9 (diff) | |
download | op-kernel-dev-d8153d4d8b7b6141770e1416c4a338161205ed1b.zip op-kernel-dev-d8153d4d8b7b6141770e1416c4a338161205ed1b.tar.gz |
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions