d_genocide: move export to definition
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 29 Mar 2018 19:08:21 +0000 (15:08 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 29 Mar 2018 19:08:21 +0000 (15:08 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/dcache.c

index c159a4b304cfb395c6fab62c76351b5a06405c5e..593079176123823e0ddcf19ce72257e19fdc923e 100644 (file)
@@ -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;