From: Lino Sanfilippo Date: Tue, 14 Jun 2011 15:29:45 +0000 (+0200) Subject: inotify, fanotify: replace fsnotify_put_group() with fsnotify_destroy_group() X-Git-Tag: v3.8-rc1~11^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8153d4d8b7b6141770e1416c4a338161205ed1b;p=pandora-kernel.git 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 Signed-off-by: Eric Paris --- Reading git-diff-tree failed