summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2018-03-29 21:08:21 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2018-03-29 21:08:21 +0200
commitcbd4a5bcb25b5ed0c1c64bc969b893cad9b78acc (patch)
tree6f058ff73506cf4ead287f825b65b15fc969a331
parentfold dentry_lock_for_move() into its sole caller and clean it up (diff)
downloadlinux-cbd4a5bcb25b5ed0c1c64bc969b893cad9b78acc.tar.xz
linux-cbd4a5bcb25b5ed0c1c64bc969b893cad9b78acc.zip
d_genocide: move export to definition
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-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;