ceph: ceph_get_parent() can be static

Signed-off-by: Fengguang Wu <[email protected]>
Reviewed-by: Yan, Zheng <[email protected]>
This commit is contained in:
Fengguang Wu 2014-04-09 14:11:31 +08:00 • committed by Yan, Zheng
commit e84be11c53

View 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)