commit | 4ca763523e040dc61191d4866a82981a5d30a4e9 | [log] [tgz] |
---|---|---|
author | Eric Paris <eparis@redhat.com> | Thu Dec 17 21:24:23 2009 -0500 |
committer | Eric Paris <eparis@redhat.com> | Wed Jul 28 09:58:51 2010 -0400 |
tree | 9b02105e7c84853dd89eff16837a9b7fba2a1050 | |
parent | 36fddebaa8a9186d4f5817ab798a83400b2fb2e7 [diff] |
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 <eparis@redhat.com>