Rename audit_remove_rule() to audit_remove_mark_rule().
Signed-off-by: Richard Guy Briggs <rgb(a)redhat.com>
---
kernel/audit_fsnotify.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/audit_fsnotify.c b/kernel/audit_fsnotify.c
index a11cede..07b33f7 100644
--- a/kernel/audit_fsnotify.c
+++ b/kernel/audit_fsnotify.c
@@ -175,7 +175,7 @@ void audit_remove_mark(struct audit_fsnotify_mark *audit_mark)
fsnotify_put_mark(&audit_mark->mark);
}
-static void audit_remove_rule(struct audit_fsnotify_mark *audit_mark)
+static void audit_remove_mark_rule(struct audit_fsnotify_mark *audit_mark)
{
struct audit_krule *rule = audit_mark->rule;
struct audit_entry *entry = container_of(rule, struct audit_entry, rule);
@@ -216,7 +216,7 @@ static int audit_mark_handle_event(struct fsnotify_group *group,
return 0;
audit_update_mark(audit_mark, inode);
} else if (mask & (FS_DELETE_SELF|FS_UNMOUNT|FS_MOVE_SELF))
- audit_remove_rule(audit_mark);
+ audit_remove_mark_rule(audit_mark);
return 0;
}
--
1.7.1