path: root/kernel/audit.h
diff options
authorJeff Layton <>2012-10-10 15:25:24 -0400
committerAl Viro <>2012-10-12 00:32:01 -0400
commit563a0d1236c2c58d584ef122a5cdc9930e5860b3 (patch)
tree4432b3b2f6ef6c19e9bded14ae31942e2b58bd84 /kernel/audit.h
parentbfcec7087458812f575d9022b2d151641f34ee84 (diff)
audit: remove dirlen argument to audit_compare_dname_path
All the callers set this to NULL now. Signed-off-by: Jeff Layton <> Signed-off-by: Al Viro <>
Diffstat (limited to 'kernel/audit.h')
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/audit.h b/kernel/audit.h
index 163b9a5d9441..1038e23eb61c 100644
--- a/kernel/audit.h
+++ b/kernel/audit.h
@@ -79,8 +79,7 @@ extern int audit_comparator(const u32 left, const u32 op, const u32 right);
extern int audit_uid_comparator(kuid_t left, u32 op, kuid_t right);
extern int audit_gid_comparator(kgid_t left, u32 op, kgid_t right);
extern int parent_len(const char *path);
-extern int audit_compare_dname_path(const char *dname, const char *path,
- int *dirlen);
+extern int audit_compare_dname_path(const char *dname, const char *path);
extern struct sk_buff * audit_make_reply(int pid, int seq, int type,
int done, int multi,
const void *payload, int size);