forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
4b660a7f5c
commit
e84be11c53
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user