summaryrefslogtreecommitdiffstats
path: root/fs/internal.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2019-03-16 03:58:11 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2019-04-10 01:20:46 +0200
commitab1152dd5650d35da6f0f6d3c0cc18f86fdc0725 (patch)
tree9b659d320d460256823f8ccaf05df39500e279a7 /fs/internal.h
parentautofs: fix use-after-free in lockless ->d_manage() (diff)
downloadlinux-ab1152dd5650d35da6f0f6d3c0cc18f86fdc0725.tar.xz
linux-ab1152dd5650d35da6f0f6d3c0cc18f86fdc0725.zip
unexport d_alloc_pseudo()
No modular uses since introducion of alloc_file_pseudo(), and the only non-modular user not in alloc_file_pseudo() had actually been wrong - should've been d_alloc_anon(). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/internal.h')
-rw-r--r--fs/internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/internal.h b/fs/internal.h
index 2e7362837a6e..8102032432cf 100644
--- a/fs/internal.h
+++ b/fs/internal.h
@@ -155,6 +155,7 @@ extern struct dentry *__d_alloc(struct super_block *, const struct qstr *);
extern int d_set_mounted(struct dentry *dentry);
extern long prune_dcache_sb(struct super_block *sb, struct shrink_control *sc);
extern struct dentry *d_alloc_cursor(struct dentry *);
+extern struct dentry * d_alloc_pseudo(struct super_block *, const struct qstr *);
/*
* read_write.c