Skip to content

Commit

Permalink
audit: rename audit_log_remove_rule to disambiguate for trees
Browse files Browse the repository at this point in the history
Rename audit_log_remove_rule() to audit_tree_log_remove_rule() to avoid
confusion with watch and mark rule removal/changes.

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
  • Loading branch information
Richard Guy Briggs authored and Eric Paris committed Oct 10, 2014
1 parent e85322d commit 2991dd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/audit_tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ static int tag_chunk(struct inode *inode, struct audit_tree *tree)
return 0;
}

static void audit_log_remove_rule(struct audit_krule *rule)
static void audit_tree_log_remove_rule(struct audit_krule *rule)
{
struct audit_buffer *ab;

Expand All @@ -476,7 +476,7 @@ static void kill_rules(struct audit_tree *tree)
list_del_init(&rule->rlist);
if (rule->tree) {
/* not a half-baked one */
audit_log_remove_rule(rule);
audit_tree_log_remove_rule(rule);
rule->tree = NULL;
list_del_rcu(&entry->list);
list_del(&entry->rule.list);
Expand Down

0 comments on commit 2991dd2

Please sign in to comment.