commit | e84be11c5360df33f0ba6c39185ccba564ec7177 | [log] [tgz] |
---|---|---|
author | Fengguang Wu <fengguang.wu@intel.com> | Wed Apr 09 14:11:31 2014 +0800 |
committer | Yan, Zheng <zheng.z.yan@intel.com> | Fri Jun 06 09:29:50 2014 +0800 |
tree | 182cbaabac0f0de0a1649c2b98cbc1640ff55024 | |
parent | 4b660a7f5c8099d88d1a43d8ae138965112592c7 [diff] [blame] |
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>
diff --git a/fs/ceph/export.c b/fs/ceph/export.c index 00d6af6..8d7d782 100644 --- a/fs/ceph/export.c +++ b/fs/ceph/export.c
@@ -169,7 +169,7 @@ 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)