summaryrefslogtreecommitdiffstats
path: root/fs/dcache.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2019-10-25 20:08:24 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2019-10-25 20:08:24 +0200
commit5c8b0dfc6f4a5e6c707827d0172fc1572e689094 (patch)
treef23309b9028ade0e982955e3607c62309cfc75bb /fs/dcache.c
parentfs/namespace: add __user to open_tree and move_mount syscalls (diff)
downloadlinux-5c8b0dfc6f4a5e6c707827d0172fc1572e689094.tar.xz
linux-5c8b0dfc6f4a5e6c707827d0172fc1572e689094.zip
make __d_alloc() static
no users outside of fs/dcache.c Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/dcache.c')
-rw-r--r--fs/dcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dcache.c b/fs/dcache.c
index e88cf0554e65..8ede5fa1e32c 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -1679,7 +1679,7 @@ EXPORT_SYMBOL(d_invalidate);
* copied and the copy passed in may be reused after this call.
*/
-struct dentry *__d_alloc(struct super_block *sb, const struct qstr *name)
+static struct dentry *__d_alloc(struct super_block *sb, const struct qstr *name)
{
struct dentry *dentry;
char *dname;