diff options
author | Jeff Layton <jlayton@redhat.com> | 2012-10-10 15:25:24 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-12 00:32:01 -0400 |
commit | 563a0d1236c2c58d584ef122a5cdc9930e5860b3 (patch) | |
tree | 4432b3b2f6ef6c19e9bded14ae31942e2b58bd84 /kernel/audit_watch.c | |
parent | bfcec7087458812f575d9022b2d151641f34ee84 (diff) | |
download | linux-563a0d1236c2c58d584ef122a5cdc9930e5860b3.tar.gz linux-563a0d1236c2c58d584ef122a5cdc9930e5860b3.tar.bz2 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 |