summaryrefslogtreecommitdiffstats
path: root/include/linux/dcache.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2010-06-06 22:31:14 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2010-08-09 16:48:13 -0400
commitc103135c14e03fc9a9e5f0adc01df9ad272cf2a1 (patch)
tree0c75bd6a56385697cd0e79fb695a833c5225e45e /include/linux/dcache.h
parentd0352d3ed722b134dacc21836c1763e7e3523662 (diff)
downloadop-kernel-dev-c103135c14e03fc9a9e5f0adc01df9ad272cf2a1.zip
op-kernel-dev-c103135c14e03fc9a9e5f0adc01df9ad272cf2a1.tar.gz
new helper: __dentry_path()
builds path relative to fs root, called under dcache_lock, doesn't append any nonsense to unlinked ones. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/dcache.h')
-rw-r--r--include/linux/dcache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/dcache.h b/include/linux/dcache.h
index eebb617..d23be038 100644
--- a/include/linux/dcache.h
+++ b/include/linux/dcache.h
@@ -315,6 +315,7 @@ 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(const struct path *, char *, int);
+extern char *__dentry_path(struct dentry *, char *, int);
extern char *dentry_path(struct dentry *, char *, int);
/* Allocation counts.. */
OpenPOWER on IntegriCloud