summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-03-14 21:48:20 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-03-20 21:29:40 -0400
commit66b3fad3f4c535c92b6a1184d535a97d6aa5d82a (patch)
treee0ac7f847b760b9e8b9777df27cd1581099935a2 /kernel
parent9fcf03d0d6e845ed495fc8b1ec328b473ff298b3 (diff)
downloadop-kernel-dev-66b3fad3f4c535c92b6a1184d535a97d6aa5d82a.zip
op-kernel-dev-66b3fad3f4c535c92b6a1184d535a97d6aa5d82a.tar.gz
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 bb0eb5b..1c7f2c6 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;
OpenPOWER on IntegriCloud