summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-03-15 02:48:20 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2012-03-21 02:29:40 +0100
commit66b3fad3f4c535c92b6a1184d535a97d6aa5d82a (patch)
treee0ac7f847b760b9e8b9777df27cd1581099935a2 /kernel
parentaio: fix the comment in aio_kick_handler() (diff)
downloadlinux-66b3fad3f4c535c92b6a1184d535a97d6aa5d82a.tar.xz
linux-66b3fad3f4c535c92b6a1184d535a97d6aa5d82a.zip
constify path argument of audit_log_d_path()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/audit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/audit.c b/kernel/audit.c
index bb0eb5bb9a0a..1c7f2c61416b 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@ -1418,7 +1418,7 @@ void audit_log_untrustedstring(struct audit_buffer *ab, const char *string)
/* This is a helper-function to print the escaped d_path */
void audit_log_d_path(struct audit_buffer *ab, const char *prefix,
- struct path *path)
+ const struct path *path)
{
char *p, *pathname;