X-Git-Url: https://git.openfabrics.org/?p=~shefty%2Frdma-dev.git;a=blobdiff_plain;f=kernel%2Faudit_watch.c;h=4a599f699adcfeca242e34f1a9691385a500450e;hp=9a9ae6e3d290025179a964c577de517f24fbe75c;hb=96680d2b9174668100824d763382240c71baa811;hpb=4c9a44aebeaef35570a67aed17b72a2cf8d0b219 diff --git a/kernel/audit_watch.c b/kernel/audit_watch.c index 9a9ae6e3d29..4a599f699ad 100644 --- a/kernel/audit_watch.c +++ b/kernel/audit_watch.c @@ -350,7 +350,7 @@ static void audit_remove_parent_watches(struct audit_parent *parent) } mutex_unlock(&audit_filter_mutex); - fsnotify_destroy_mark(&parent->mark); + fsnotify_destroy_mark(&parent->mark, audit_watch_group); } /* Get path information necessary for adding watches. */ @@ -457,7 +457,7 @@ void audit_remove_watch_rule(struct audit_krule *krule) if (list_empty(&parent->watches)) { audit_get_parent(parent); - fsnotify_destroy_mark(&parent->mark); + fsnotify_destroy_mark(&parent->mark, audit_watch_group); audit_put_parent(parent); } }