summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2014-04-09 08:11:31 +0200
committerYan, Zheng <zheng.z.yan@intel.com>2014-06-06 03:29:50 +0200
commite84be11c5360df33f0ba6c39185ccba564ec7177 (patch)
tree182cbaabac0f0de0a1649c2b98cbc1640ff55024 /fs
parentLinux 3.15-rc6 (diff)
downloadlinux-e84be11c5360df33f0ba6c39185ccba564ec7177.tar.xz
linux-e84be11c5360df33f0ba6c39185ccba564ec7177.zip
ceph: ceph_get_parent() can be static
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Reviewed-by: Yan, Zheng <zheng.z.yan@intel.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/ceph/export.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/export.c b/fs/ceph/export.c
index 00d6af6a32ec..8d7d782f4382 100644
--- a/fs/ceph/export.c
+++ b/fs/ceph/export.c
@@ -169,7 +169,7 @@ static struct dentry *__get_parent(struct super_block *sb,
return dentry;
}
-struct dentry *ceph_get_parent(struct dentry *child)
+static struct dentry *ceph_get_parent(struct dentry *child)
{
/* don't re-export snaps */
if (ceph_snap(child->d_inode) != CEPH_NOSNAP)