summaryrefslogtreecommitdiff
path: root/include/linux/dcache.h
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2012-01-10 21:04:37 +0400
committerSage Weil <sage@newdream.net>2012-01-12 23:00:28 +0400
commit46f72b349290d2bd7aecea38f02609d814332df6 (patch)
tree4d9adf3578e3cc526c6756b1e5165a65ba285648 /include/linux/dcache.h
parentd46cfba5363a163851dc768f717f34185527a472 (diff)
downloadlinux-46f72b349290d2bd7aecea38f02609d814332df6.tar.xz
vfs: export symbol d_find_any_alias()
Ceph needs this. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Sage Weil <sage@newdream.net>
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 ed9f74f6c519..3871ba743b4c 100644
--- a/include/linux/dcache.h
+++ b/include/linux/dcache.h
@@ -241,6 +241,7 @@ extern struct dentry * d_alloc(struct dentry *, const struct qstr *);
extern struct dentry * d_alloc_pseudo(struct super_block *, const struct qstr *);
extern struct dentry * d_splice_alias(struct inode *, struct dentry *);
extern struct dentry * d_add_ci(struct dentry *, struct inode *, struct qstr *);
+extern struct dentry *d_find_any_alias(struct inode *inode);
extern struct dentry * d_obtain_alias(struct inode *);
extern void shrink_dcache_sb(struct super_block *);
extern void shrink_dcache_parent(struct dentry *);