Commit e84be11c authored by Fengguang Wu's avatar Fengguang Wu Committed by Yan, Zheng
Browse files

ceph: ceph_get_parent() can be static

parent 4b660a7f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)