aboutsummaryrefslogtreecommitdiffstats
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
parentMerge tag 'ntb-5.5' of git://github.com/jonmason/ntb (diff)
parentmake __d_alloc() static (diff)
downloadlinux-dev-5bf9a06a5f7ca525621f4117257a49dc5a2786da.tar.xz
linux-dev-5bf9a06a5f7ca525621f4117257a49dc5a2786da.zip
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;