diff options
author | Jeff Layton <jlayton@redhat.com> | 2012-10-10 21:25:24 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-12 06:32:01 +0200 |
commit | 563a0d1236c2c58d584ef122a5cdc9930e5860b3 (patch) | |
tree | 4432b3b2f6ef6c19e9bded14ae31942e2b58bd84 /kernel/audit_watch.c | |
parent | audit: set the name_len in audit_inode for parent lookups (diff) | |
download | linux-563a0d1236c2c58d584ef122a5cdc9930e5860b3.tar.xz linux-563a0d1236c2c58d584ef122a5cdc9930e5860b3.zip |
audit: remove dirlen argument to audit_compare_dname_path
All the callers set this to NULL now.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel/audit_watch.c')
-rw-r--r-- | kernel/audit_watch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/audit_watch.c b/kernel/audit_watch.c index 1c22ec3d87bc..deb97c139e0c 100644 --- a/kernel/audit_watch.c +++ b/kernel/audit_watch.c @@ -265,7 +265,7 @@ static void audit_update_watch(struct audit_parent *parent, /* Run all of the watches on this parent looking for the one that * matches the given dname */ list_for_each_entry_safe(owatch, nextw, &parent->watches, wlist) { - if (audit_compare_dname_path(dname, owatch->path, NULL)) + if (audit_compare_dname_path(dname, owatch->path)) continue; /* If the update involves invalidating rules, do the inode-based |