summaryrefslogtreecommitdiffstats
path: root/fs/dcache.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2018-03-29 15:08:21 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2018-03-29 15:08:21 -0400
commitcbd4a5bcb25b5ed0c1c64bc969b893cad9b78acc (patch)
tree6f058ff73506cf4ead287f825b65b15fc969a331 /fs/dcache.c
parent42177007aa277af3e37bf2ae3efdfe795c81d700 (diff)
downloadlinux-cbd4a5bcb25b5ed0c1c64bc969b893cad9b78acc.tar.bz2
d_genocide: move export to definition
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/dcache.c')
-rw-r--r--fs/dcache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/dcache.c b/fs/dcache.c
index c159a4b304cf..593079176123 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -3095,6 +3095,8 @@ void d_genocide(struct dentry *parent)
d_walk(parent, parent, d_genocide_kill, NULL);
}
+EXPORT_SYMBOL(d_genocide);
+
void d_tmpfile(struct dentry *dentry, struct inode *inode)
{
inode_dec_link_count(inode);
@@ -3174,8 +3176,6 @@ static void __init dcache_init(void)
struct kmem_cache *names_cachep __read_mostly;
EXPORT_SYMBOL(names_cachep);
-EXPORT_SYMBOL(d_genocide);
-
void __init vfs_caches_init_early(void)
{
int i;