]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - kernel/audit.c
ide-cd: fix 'ireason' handling for REQ_TYPE_ATA_PC requests
[mv-sheeva.git] / kernel / audit.c
index 783e65701247f43cdb0d13d6ca161a5c1fbd0526..2eeea9a142408a156f0897a75c81343a5619c07c 100644 (file)
@@ -1325,7 +1325,7 @@ void audit_log_d_path(struct audit_buffer *ab, const char *prefix,
                audit_log_format(ab, "<no memory>");
                return;
        }
-       p = d_path(path->dentry, path->mnt, pathname, PATH_MAX+11);
+       p = d_path(path, pathname, PATH_MAX+11);
        if (IS_ERR(p)) { /* Should never happen since we send PATH_MAX */
                /* FIXME: can we save some information here? */
                audit_log_format(ab, "<too long>");