summaryrefslogtreecommitdiffstats
path: root/fs/dcache.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2019-12-08 11:08:28 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2019-12-08 11:08:28 -0800
commit5bf9a06a5f7ca525621f4117257a49dc5a2786da (patch)
tree654fec78ab7b0abcbd583db4a062f85cc7ce6b3d /fs/dcache.c
parent9455d25f4e3b3d009fa1b810862e5b06229530e4 (diff)
parent5c8b0dfc6f4a5e6c707827d0172fc1572e689094 (diff)
downloadlinux-5bf9a06a5f7ca525621f4117257a49dc5a2786da.tar.bz2
Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull misc vfs cleanups from Al Viro: "No common topic, just three cleanups". * 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: make __d_alloc() static fs/namespace: add __user to open_tree and move_mount syscalls fs/fnctl: fix missing __user in fcntl_rw_hint()
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 a2749a700230..b280e07e162b 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -1681,7 +1681,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;