From: Eric Paris Date: Fri, 18 Dec 2009 02:24:23 +0000 (-0500) Subject: fsnotify: add groups to fsnotify_inode_groups when registering inode watch X-Git-Tag: v2.6.36-rc1~303^2~98 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ca763523e040dc61191d4866a82981a5d30a4e9;p=pandora-kernel.git fsnotify: add groups to fsnotify_inode_groups when registering inode watch Currently all fsnotify groups are added immediately to the fsnotify_inode_groups list upon creation. This means, even groups with no watches (common for audit) will be on the global tracking list and will get checked for every event. This patch adds groups to the global list on when the first inode mark is added to the group. Signed-of-by: Eric Paris --- Reading git-diff-tree failed