瀏覽代碼

d_genocide: move export to definition

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 7 年之前
父節點
當前提交
cbd4a5bcb2
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      fs/dcache.c

+ 2 - 2
fs/dcache.c

@@ -3095,6 +3095,8 @@ void d_genocide(struct dentry *parent)
 	d_walk(parent, parent, d_genocide_kill, NULL);
 	d_walk(parent, parent, d_genocide_kill, NULL);
 }
 }
 
 
+EXPORT_SYMBOL(d_genocide);
+
 void d_tmpfile(struct dentry *dentry, struct inode *inode)
 void d_tmpfile(struct dentry *dentry, struct inode *inode)
 {
 {
 	inode_dec_link_count(inode);
 	inode_dec_link_count(inode);
@@ -3174,8 +3176,6 @@ static void __init dcache_init(void)
 struct kmem_cache *names_cachep __read_mostly;
 struct kmem_cache *names_cachep __read_mostly;
 EXPORT_SYMBOL(names_cachep);
 EXPORT_SYMBOL(names_cachep);
 
 
-EXPORT_SYMBOL(d_genocide);
-
 void __init vfs_caches_init_early(void)
 void __init vfs_caches_init_early(void)
 {
 {
 	int i;
 	int i;