提交 e84be11c 编写于 作者: F Fengguang Wu 提交者: Yan, Zheng

ceph: ceph_get_parent() can be static

Signed-off-by: NFengguang Wu <fengguang.wu@intel.com>
Reviewed-by: NYan, Zheng <zheng.z.yan@intel.com>
上级 4b660a7f
...@@ -169,7 +169,7 @@ static struct dentry *__get_parent(struct super_block *sb, ...@@ -169,7 +169,7 @@ static struct dentry *__get_parent(struct super_block *sb,
return dentry; return dentry;
} }
struct dentry *ceph_get_parent(struct dentry *child) static struct dentry *ceph_get_parent(struct dentry *child)
{ {
/* don't re-export snaps */ /* don't re-export snaps */
if (ceph_snap(child->d_inode) != CEPH_NOSNAP) if (ceph_snap(child->d_inode) != CEPH_NOSNAP)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册