aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2023-11-11 16:01:27 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2023-11-25 02:50:15 -0500
commit8a54b38f3e5ced6cc4b246b8e54bd0f50deceaa8 (patch)
tree5430c88a90ffc0b2b46ca00b9601acbc373a4ad2
parentsimple_fill_super(): don't bother with d_genocide() on failure (diff)
downloadwireguard-linux-8a54b38f3e5ced6cc4b246b8e54bd0f50deceaa8.tar.xz
wireguard-linux-8a54b38f3e5ced6cc4b246b8e54bd0f50deceaa8.zip
d_genocide(): move the extern into fs/internal.h
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--fs/internal.h1
-rw-r--r--include/linux/dcache.h3
2 files changed, 1 insertions, 3 deletions
diff --git a/fs/internal.h b/fs/internal.h
index 9e9fc629f935..d9a920e2636e 100644
--- a/fs/internal.h
+++ b/fs/internal.h
@@ -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
diff --git a/include/linux/dcache.h b/include/linux/dcache.h
index 8c5e3bdf1147..b4324d47f249 100644
--- a/include/linux/dcache.h
+++ b/include/linux/dcache.h
@@ -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 *);