]> Pileus Git - ~andy/linux/blobdiff - kernel/audit_watch.c
audit: remove dirlen argument to audit_compare_dname_path
[~andy/linux] / kernel / audit_watch.c
index 1c22ec3d87bc6f24c2b33a4086cb460812e0387c..deb97c139e0c4a5ccc1666ffb438c877f2a0ff55 100644 (file)
@@ -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