You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
fsnotify: pass group to fsnotify_destroy_mark()
In fsnotify_destroy_mark() dont get the group from the passed mark anymore, but pass the group itself as an additional parameter to the function. Signed-off-by: Lino Sanfilippo <LinoSanfilippo@gmx.de> Signed-off-by: Eric Paris <eparis@redhat.com>
This commit is contained in:
committed by
Eric Paris
parent
986ab09807
commit
e2a29943e9
@@ -349,7 +349,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. */
|
||||
@@ -456,7 +456,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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user