diff options
Diffstat (limited to 'kernel/audit_watch.c')
-rw-r--r-- | kernel/audit_watch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/audit_watch.c b/kernel/audit_watch.c index 3823281401b5..a66affc1c12c 100644 --- a/kernel/audit_watch.c +++ b/kernel/audit_watch.c | |||
@@ -349,7 +349,7 @@ static void audit_remove_parent_watches(struct audit_parent *parent) | |||
349 | } | 349 | } |
350 | mutex_unlock(&audit_filter_mutex); | 350 | mutex_unlock(&audit_filter_mutex); |
351 | 351 | ||
352 | fsnotify_destroy_mark(&parent->mark); | 352 | fsnotify_destroy_mark(&parent->mark, audit_watch_group); |
353 | } | 353 | } |
354 | 354 | ||
355 | /* Get path information necessary for adding watches. */ | 355 | /* Get path information necessary for adding watches. */ |
@@ -456,7 +456,7 @@ void audit_remove_watch_rule(struct audit_krule *krule) | |||
456 | 456 | ||
457 | if (list_empty(&parent->watches)) { | 457 | if (list_empty(&parent->watches)) { |
458 | audit_get_parent(parent); | 458 | audit_get_parent(parent); |
459 | fsnotify_destroy_mark(&parent->mark); | 459 | fsnotify_destroy_mark(&parent->mark, audit_watch_group); |
460 | audit_put_parent(parent); | 460 | audit_put_parent(parent); |
461 | } | 461 | } |
462 | } | 462 | } |