ceph: ceph_get_parent() can be static
authorFengguang Wu <fengguang.wu@intel.com>
Wed, 9 Apr 2014 06:11:31 +0000 (14:11 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Fri, 6 Jun 2014 01:29:50 +0000 (09:29 +0800)
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Reviewed-by: Yan, Zheng <zheng.z.yan@intel.com>
fs/ceph/export.c

index 00d6af6..8d7d782 100644 (file)
@@ -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)