diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/audit_tree.c | 2 | ||||
-rw-r--r-- | kernel/audit_watch.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kernel/audit_tree.c b/kernel/audit_tree.c index 813274d4edad..04f16887406b 100644 --- a/kernel/audit_tree.c +++ b/kernel/audit_tree.c | |||
@@ -937,7 +937,7 @@ static int __init audit_tree_init(void) | |||
937 | { | 937 | { |
938 | int i; | 938 | int i; |
939 | 939 | ||
940 | audit_tree_group = fsnotify_alloc_group(0, &audit_tree_ops); | 940 | audit_tree_group = fsnotify_alloc_group(&audit_tree_ops); |
941 | if (IS_ERR(audit_tree_group)) | 941 | if (IS_ERR(audit_tree_group)) |
942 | audit_panic("cannot initialize fsnotify group for rectree watches"); | 942 | audit_panic("cannot initialize fsnotify group for rectree watches"); |
943 | 943 | ||
diff --git a/kernel/audit_watch.c b/kernel/audit_watch.c index 87408b282118..83d5f9674cec 100644 --- a/kernel/audit_watch.c +++ b/kernel/audit_watch.c | |||
@@ -585,7 +585,7 @@ static const struct fsnotify_ops audit_watch_fsnotify_ops = { | |||
585 | 585 | ||
586 | static int __init audit_watch_init(void) | 586 | static int __init audit_watch_init(void) |
587 | { | 587 | { |
588 | audit_watch_group = fsnotify_alloc_group(0, &audit_watch_fsnotify_ops); | 588 | audit_watch_group = fsnotify_alloc_group(&audit_watch_fsnotify_ops); |
589 | if (IS_ERR(audit_watch_group)) { | 589 | if (IS_ERR(audit_watch_group)) { |
590 | audit_watch_group = NULL; | 590 | audit_watch_group = NULL; |
591 | audit_panic("cannot create audit fsnotify group"); | 591 | audit_panic("cannot create audit fsnotify group"); |