diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2008-06-10 01:40:36 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-06-23 17:52:30 +0200 |
commit | 20d4fdc1a788e4ca0aaf2422772ba668e7e10839 (patch) | |
tree | cd75fce48616b364ddb968d2085205fbc9f4aca1 /fs/dcache.c | |
parent | [patch 1/4] vfs: path_{get,put}() cleanups (diff) | |
download | linux-20d4fdc1a788e4ca0aaf2422772ba668e7e10839.tar.xz 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 'fs/dcache.c')
-rw-r--r-- | fs/dcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dcache.c b/fs/dcache.c index 3ee588d5f585..c4c9072d810c 100644 --- a/fs/dcache.c +++ b/fs/dcache.c @@ -1847,7 +1847,7 @@ Elong: * * "buflen" should be positive. Caller holds the dcache_lock. */ -char *d_path(struct path *path, char *buf, int buflen) +char *d_path(const struct path *path, char *buf, int buflen) { char *res; struct path root; |