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 70b4554d2fbe..ad9c1682f616 100644 --- a/kernel/audit_watch.c +++ b/kernel/audit_watch.c | |||
@@ -314,7 +314,7 @@ static void audit_update_watch(struct audit_parent *parent, | |||
314 | &nentry->rule.list); | 314 | &nentry->rule.list); |
315 | } | 315 | } |
316 | 316 | ||
317 | audit_watch_log_rule_change(r, owatch, "updated rules"); | 317 | audit_watch_log_rule_change(r, owatch, "updated_rules"); |
318 | 318 | ||
319 | call_rcu(&oentry->rcu, audit_free_rule_rcu); | 319 | call_rcu(&oentry->rcu, audit_free_rule_rcu); |
320 | } | 320 | } |
@@ -342,7 +342,7 @@ static void audit_remove_parent_watches(struct audit_parent *parent) | |||
342 | list_for_each_entry_safe(w, nextw, &parent->watches, wlist) { | 342 | list_for_each_entry_safe(w, nextw, &parent->watches, wlist) { |
343 | list_for_each_entry_safe(r, nextr, &w->rules, rlist) { | 343 | list_for_each_entry_safe(r, nextr, &w->rules, rlist) { |
344 | e = container_of(r, struct audit_entry, rule); | 344 | e = container_of(r, struct audit_entry, rule); |
345 | audit_watch_log_rule_change(r, w, "remove rule"); | 345 | audit_watch_log_rule_change(r, w, "remove_rule"); |
346 | list_del(&r->rlist); | 346 | list_del(&r->rlist); |
347 | list_del(&r->list); | 347 | list_del(&r->list); |
348 | list_del_rcu(&e->list); | 348 | list_del_rcu(&e->list); |