From patchwork Mon Aug 20 22:56:43 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "J. Bruce Fields" X-Patchwork-Id: 1351371 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 5E6653FC33 for ; Mon, 20 Aug 2012 22:56:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756618Ab2HTW4u (ORCPT ); Mon, 20 Aug 2012 18:56:50 -0400 Received: from fieldses.org ([174.143.236.118]:45648 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756102Ab2HTW4u (ORCPT ); Mon, 20 Aug 2012 18:56:50 -0400 Received: from bfields by fieldses.org with local (Exim 4.72) (envelope-from ) id 1T3ato-0002LQ-5o; Mon, 20 Aug 2012 18:56:44 -0400 Date: Mon, 20 Aug 2012 18:56:43 -0400 To: "J. Bruce Fields" Cc: linux-nfs@vger.kernel.org Subject: Re: minor nfsd cleanups Message-ID: <20120820225643.GA8960@fieldses.org> References: <1345503060-8892-1-git-send-email-bfields@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1345503060-8892-1-git-send-email-bfields@redhat.com> User-Agent: Mutt/1.5.20 (2009-06-14) From: "J. Bruce Fields" Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Mon, Aug 20, 2012 at 06:50:57PM -0400, J. Bruce Fields wrote: > Three patches for 3.7, mainly just shutting up sparse.--b. Plus one more I forgot....--b. commit 3a6d5cded2bcb69e259e18e23474ae0c1767fc04 Author: J. Bruce Fields Date: Tue Aug 14 16:09:31 2012 -0400 nfsd4: nfsd_process_n_delegations should be static Signed-off-by: J. Bruce Fields --- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index 566a9b7..f393da8 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c @@ -4578,7 +4578,7 @@ void nfsd_forget_openowners(u64 num) printk(KERN_INFO "NFSD: Forgot %d open owners", count); } -int nfsd_process_n_delegations(u64 num, struct list_head *list) +static int nfsd_process_n_delegations(u64 num, struct list_head *list) { int i, count = 0; struct nfs4_file *fp, *fnext;