Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8471219ybi; Tue, 9 Jul 2019 16:40:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqxTMQi5vf6EHA4SicsIJ15RZri/c0zNo0dQVMkN/Gp3ggiv7/WSVsYKSZOv2Hw+eryYPcsV X-Received: by 2002:a17:902:100a:: with SMTP id b10mr34484836pla.338.1562715614488; Tue, 09 Jul 2019 16:40:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562715614; cv=none; d=google.com; s=arc-20160816; b=AOkozRztgQHYc1JikOggAY1T38WaPw3+NDT0WqGMSU8V2hBzLnMEmsYdgAOHN5d6tp 5iLeolobS6la4QD1/Tk1DyzTzAItg2RmRr1LD6z+H9H7cA5LyG35RCemurgIVk0XSYun dIAjnHje066QOtyWQVWleVxOkyYJSRS3yMFvAJ+Qp8mVfiM9INIfSY1+4QkxiXR7HUrk FWUK9xH+/CvFt9KagV7t5f7IAEnf5Dnz8Y713ga46WPwUjnGoyFX416F38tgi6cdPBOX yo4iUMKast3JP2A4+uqSg/v72+ppasdBSuycpmwWVdCucpIeX3Ko6RqstVHM8yumLLVF vu8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=psSOxZShted9cZnD/wQcVpLOE9XOayPS5sxFx7d+qyg=; b=uAxNZ+uMT547oZZqqudHUQ4U/jfKAzKWfKH53/aYOCG+r0OJuSDMfqog9ZeubuLu7I t/P6UJsATTqd5GwRa0hDy7Wt6zZsRr742jJt9qoWPoLMfErYOPCUc6Sa9IispRYa6hdK bns5sKI6Gs6iA0jyUgAoLnK899WXu2Fg+b+0zbXTomqSMc9xaloQR544BTER8CwybpJt Fyj88B62hHLE0wVVE4iuYWdg8wvp0yDbnHcrzuBY8k8AK1WXbR8OJo8/hD7eh3exb0N4 FvD31y0Ky2MoIqg2ktD4ORezngZFwrwPnswZGDOX5RsRj1Wy6XEeDAQJGkRkEUmGgsdl tvhA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b3si298635pgw.16.2019.07.09.16.39.58; Tue, 09 Jul 2019 16:40:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727117AbfGIXg4 (ORCPT + 99 others); Tue, 9 Jul 2019 19:36:56 -0400 Received: from fieldses.org ([173.255.197.46]:52808 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726218AbfGIXg4 (ORCPT ); Tue, 9 Jul 2019 19:36:56 -0400 Received: by fieldses.org (Postfix, from userid 2815) id 4674E1C17; Tue, 9 Jul 2019 19:36:56 -0400 (EDT) Date: Tue, 9 Jul 2019 19:36:56 -0400 From: "J. Bruce Fields" To: YueHaibing Cc: chuck.lever@oracle.com, linux-kernel@vger.kernel.org, linux-nfs@vger.kernel.org Subject: Re: [PATCH -next] nfsd: Make __get_nfsdfs_client() static Message-ID: <20190709233656.GC1536@fieldses.org> References: <20190708125408.56016-1-yuehaibing@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190708125408.56016-1-yuehaibing@huawei.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thanks, applied.--b. On Mon, Jul 08, 2019 at 08:54:08PM +0800, YueHaibing wrote: > Fix sparse warning: > > fs/nfsd/nfsctl.c:1221:22: warning: > symbol '__get_nfsdfs_client' was not declared. Should it be static? > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing > --- > fs/nfsd/nfsctl.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c > index 53833b3..0a9a49d 100644 > --- a/fs/nfsd/nfsctl.c > +++ b/fs/nfsd/nfsctl.c > @@ -1218,7 +1218,7 @@ static void clear_ncl(struct inode *inode) > } > > > -struct nfsdfs_client *__get_nfsdfs_client(struct inode *inode) > +static struct nfsdfs_client *__get_nfsdfs_client(struct inode *inode) > { > struct nfsdfs_client *nc = inode->i_private; > > -- > 2.7.4 >