summaryrefslogtreecommitdiffstats
path: root/include/linux/dcache.h
diff options
context:
space:
mode:
authorJan Engelhardt2008-06-10 01:40:36 +0200
committerAl Viro2008-06-23 17:52:30 +0200
commit20d4fdc1a788e4ca0aaf2422772ba668e7e10839 (patch)
treecd75fce48616b364ddb968d2085205fbc9f4aca1 /include/linux/dcache.h
parent[patch 1/4] vfs: path_{get,put}() cleanups (diff)
downloadkernel-qcow2-linux-20d4fdc1a788e4ca0aaf2422772ba668e7e10839.tar.gz
kernel-qcow2-linux-20d4fdc1a788e4ca0aaf2422772ba668e7e10839.tar.xz
kernel-qcow2-linux-20d4fdc1a788e4ca0aaf2422772ba668e7e10839.zip
[patch 2/4] fs: make struct file arg to d_path const
Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/dcache.h')
-rw-r--r--include/linux/dcache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/dcache.h b/include/linux/dcache.h
index 2a6639407c80..d982eb89c77d 100644
--- a/include/linux/dcache.h
+++ b/include/linux/dcache.h
@@ -300,7 +300,7 @@ extern int d_validate(struct dentry *, struct dentry *);
extern char *dynamic_dname(struct dentry *, char *, int, const char *, ...);
extern char *__d_path(const struct path *path, struct path *root, char *, int);
-extern char *d_path(struct path *, char *, int);
+extern char *d_path(const struct path *, char *, int);
extern char *dentry_path(struct dentry *, char *, int);
/* Allocation counts.. */