]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
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 00d6af6a32ec9a37f204705da091122e7ddd7151..8d7d782f43822d2fd29b1f6fe941093ff7e247d3 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)