From patchwork Fri Mar 8 19:46:21 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chuck Lever III X-Patchwork-Id: 2240211 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 3BCC94006E for ; Fri, 8 Mar 2013 19:46:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753193Ab3CHTqZ (ORCPT ); Fri, 8 Mar 2013 14:46:25 -0500 Received: from mail-ia0-f173.google.com ([209.85.210.173]:55049 "EHLO mail-ia0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752929Ab3CHTqX (ORCPT ); Fri, 8 Mar 2013 14:46:23 -0500 Received: by mail-ia0-f173.google.com with SMTP id h37so1839048iak.4 for ; Fri, 08 Mar 2013 11:46:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:subject:to:cc:date:message-id:in-reply-to :references:user-agent:mime-version:content-type :content-transfer-encoding; bh=hMXRWGoZ39V7BA6X9Zlz3pIfQf7e0tkNm732kfSzeOE=; b=Q1Woi2wIfc4TeMaC+/y0q8hzef/EBeSkndg7g6/DVzLvj/1E5n+aEhi4+HLsIYBYVv ldrrR/K+VSnDCk9GRzV8AbpHiXnzK7JQD56QlI1ODMv4hwE1gj12qYRL7aZIKhXfpVf1 A9vulzcDSiaZF66x3mpIoovA+vFS0AJOiwQn5kkQ7f927rzCwkwdMpY2A4W4W5bvCdgN 9fi4RWBREnODqbr/AH4n2QI1iySrAIO1b6BTGKjZ99IbzAXkKe3TXmTAywPZMgho5kdF kD/rvkRQZJgo5lkRxyv6gMvqYhd8ixE6+iqUKeVj1p7BQTeD1+FJp9CCa5ADFuZCeL7U G6dg== X-Received: by 10.50.57.232 with SMTP id l8mr189810igq.49.1362771983375; Fri, 08 Mar 2013 11:46:23 -0800 (PST) Received: from seurat.1015granger.net ([99.26.161.222]) by mx.google.com with ESMTPS id dy5sm402611igc.1.2013.03.08.11.46.22 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 08 Mar 2013 11:46:22 -0800 (PST) From: Chuck Lever Subject: [PATCH 02/11] mountd: make local functions in v4root.c static To: linux-nfs@vger.kernel.org Cc: Chuck Lever Date: Fri, 08 Mar 2013 14:46:21 -0500 Message-ID: <20130308194621.5656.84272.stgit@seurat.1015granger.net> In-Reply-To: <20130308193830.5656.44184.stgit@seurat.1015granger.net> References: <20130308193830.5656.44184.stgit@seurat.1015granger.net> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Clean up. set_pseudofs_security() and pseudofs_update() have no call sites outside of v4root.c, and there are no header declarations for either function. Define both as static. Signed-off-by: Chuck Lever --- utils/mountd/v4root.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) -- 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/utils/mountd/v4root.c b/utils/mountd/v4root.c index 726b50d..34d098a 100644 --- a/utils/mountd/v4root.c +++ b/utils/mountd/v4root.c @@ -55,7 +55,8 @@ static nfs_export pseudo_root = { .m_warned = 0, }; -void set_pseudofs_security(struct exportent *pseudo, struct exportent *source) +static void +set_pseudofs_security(struct exportent *pseudo, struct exportent *source) { struct sec_entry *se; int i; @@ -121,7 +122,8 @@ v4root_support(void) return 0; } -int pseudofs_update(char *hostname, char *path, nfs_export *source) +static int +pseudofs_update(char *hostname, char *path, nfs_export *source) { nfs_export *exp;