Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752695AbaFQACV (ORCPT ); Mon, 16 Jun 2014 20:02:21 -0400 Received: from mail-ie0-f173.google.com ([209.85.223.173]:54104 "EHLO mail-ie0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751160AbaFQACT (ORCPT ); Mon, 16 Jun 2014 20:02:19 -0400 Date: Mon, 16 Jun 2014 17:02:17 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Fabian Frederick cc: Fengguang Wu , linux-kernel , akpm , sage Subject: Re: [PATCH 1/1 RESEND] fs/ceph/export.c: add static to local function In-Reply-To: <20140615083422.8d3b4ab0f2b1c70eeef9ae03@skynet.be> Message-ID: References: <20140615083422.8d3b4ab0f2b1c70eeef9ae03@skynet.be> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 15 Jun 2014, Fabian Frederick wrote: > ceph_get_parent is only used in fs/ceph/export.c > > Cc: Sage Weil > Cc: Andrew Morton > Signed-off-by: Fabian Frederick > --- > fs/ceph/export.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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 @@ 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) Not sure what tree you're modifying, this is fixed by commit e84be11c5360 ("ceph: ceph_get_parent() can be static") in Linus's tree. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/