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 9e9fc62..d9a920e 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 8c5e3bd..b4324d4 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 *);