From: Fengguang Wu Date: Wed, 9 Apr 2014 06:11:31 +0000 (+0800) Subject: ceph: ceph_get_parent() can be static X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e84be11c5360df33f0ba6c39185ccba564ec7177;p=linux-beck.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)