d_genocide(): move the extern into fs/internal.h
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 11 Nov 2023 21:01:27 +0000 (16:01 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 25 Nov 2023 07:50:15 +0000 (02:50 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/internal.h
include/linux/dcache.h

index 9e9fc629f935319cf48fd61510dc337e5ab77a0f..d9a920e2636e23abcf4379ca3520dd1639eead01 100644 (file)
@@ -219,6 +219,7 @@ extern void shrink_dcache_for_umount(struct super_block *);
 extern struct dentry *__d_lookup(const struct dentry *, const struct qstr *);
 extern struct dentry *__d_lookup_rcu(const struct dentry *parent,
                                const struct qstr *name, unsigned *seq);
+extern void d_genocide(struct dentry *);
 
 /*
  * pipe.c
index 8c5e3bdf11475f240fa38faf188b50e89afb8f7d..b4324d47f249a8a2a5ebbb99a4d046b63f0f4aed 100644 (file)
@@ -243,9 +243,6 @@ extern void d_invalidate(struct dentry *);
 /* only used at mount-time */
 extern struct dentry * d_make_root(struct inode *);
 
-/* <clickety>-<click> the ramfs-type tree */
-extern void d_genocide(struct dentry *);
-
 extern void d_mark_tmpfile(struct file *, struct inode *);
 extern void d_tmpfile(struct file *, struct inode *);