diff options
author | Eric Paris <eparis@redhat.com> | 2009-12-17 21:24:22 -0500 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2010-07-28 09:58:50 -0400 |
commit | 74be0cc82835aecad332a29896b0f212ba893403 (patch) | |
tree | eaae59c73ba52ff8cab8ee845e989d9877603f4c /kernel/audit_tree.c | |
parent | cac69dad32899c6f4c66bb4f9baf69b0d3c7d3d1 (diff) |
fsnotify: remove group_num altogether
The original fsnotify interface has a group-num which was intended to be
able to find a group after it was added. I no longer think this is a
necessary thing to do and so we remove the group_num.
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'kernel/audit_tree.c')
-rw-r--r-- | kernel/audit_tree.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/audit_tree.c b/kernel/audit_tree.c index e3d63b596ef..59065e72a2e 100644 --- a/kernel/audit_tree.c +++ b/kernel/audit_tree.c | |||
@@ -937,8 +937,7 @@ static int __init audit_tree_init(void) | |||
937 | { | 937 | { |
938 | int i; | 938 | int i; |
939 | 939 | ||
940 | audit_tree_group = fsnotify_obtain_group(AUDIT_TREE_GROUP_NUM, | 940 | audit_tree_group = fsnotify_obtain_group(0, &audit_tree_ops); |
941 | 0, &audit_tree_ops); | ||
942 | if (IS_ERR(audit_tree_group)) | 941 | if (IS_ERR(audit_tree_group)) |
943 | audit_panic("cannot initialize fsnotify group for rectree watches"); | 942 | audit_panic("cannot initialize fsnotify group for rectree watches"); |
944 | 943 | ||