summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2014-07-31 23:59:02 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2014-08-07 20:40:11 +0200
commit49c7dd287adffc972e6dd6cf7011d63c7c5c2e10 (patch)
treefeeeb8c2d7c99e7f56f4bc9ac9ccf93ee9f4be9f
parentdcache: d_splice_alias should detect loops (diff)
downloadlinux-49c7dd287adffc972e6dd6cf7011d63c7c5c2e10.tar.xz
linux-49c7dd287adffc972e6dd6cf7011d63c7c5c2e10.zip
fs: mark __d_obtain_alias static
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>
-rw-r--r--fs/dcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dcache.c b/fs/dcache.c
index ad137005cda7..d30ce699ae4b 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -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;