fs: mark __d_obtain_alias static
authorFengguang Wu <fengguang.wu@intel.com>
Thu, 31 Jul 2014 21:59:02 +0000 (17:59 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 7 Aug 2014 18:40:11 +0000 (14:40 -0400)
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/dcache.c

index ad137005cda7ae1030aea95a437cbd9eb1bd9668..d30ce699ae4b6ea4ac3ad1b8ec955fa271bdcb16 100644 (file)
@@ -1775,7 +1775,7 @@ struct dentry *d_find_any_alias(struct inode *inode)
 }
 EXPORT_SYMBOL(d_find_any_alias);
 
-struct dentry *__d_obtain_alias(struct inode *inode, int disconnected)
+static struct dentry *__d_obtain_alias(struct inode *inode, int disconnected)
 {
        static const struct qstr anonstring = QSTR_INIT("/", 1);
        struct dentry *tmp;