From: Fengguang Wu Date: Wed, 9 Apr 2014 06:11:31 +0000 (+0800) Subject: ceph: ceph_get_parent() can be static X-Git-Tag: firefly_0821_release~176^2~3753^2~22 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e84be11c5360df33f0ba6c39185ccba564ec7177;p=firefly-linux-kernel-4.4.55.git ceph: ceph_get_parent() can be static Signed-off-by: Fengguang Wu Reviewed-by: Yan, Zheng --- diff --git a/fs/ceph/export.c b/fs/ceph/export.c index 00d6af6a32ec..8d7d782f4382 100644 --- a/fs/ceph/export.c +++ b/fs/ceph/export.c @@ -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)