From patchwork Fri Apr 5 13:21:46 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yongjun X-Patchwork-Id: 2398421 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 2888F3FE81 for ; Fri, 5 Apr 2013 13:21:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161749Ab3DENVs (ORCPT ); Fri, 5 Apr 2013 09:21:48 -0400 Received: from mail-bk0-f47.google.com ([209.85.214.47]:33661 "EHLO mail-bk0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161152Ab3DENVr (ORCPT ); Fri, 5 Apr 2013 09:21:47 -0400 Received: by mail-bk0-f47.google.com with SMTP id ik5so2060156bkc.34 for ; Fri, 05 Apr 2013 06:21:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to:cc :content-type; bh=AbtV0hInUrib8yIEhLfETfoCz5TwL9cG9QbxPSSlgJc=; b=p31GOdkki/MIKIxlAOEtUfXrhWqf6lVMRVJ/uf1PpDcBPhUt8P11OJfGTala4B6iu1 pGYVBb0C2EeIHcM4IzWZPVTny062zE7cU2B1rA/HDBgMyvd9PrGIrHZKL42LMT2ZWsWg NfZ9PxomoryTHiMKvt5FHOlVBxsGO/Sk+haA3JlkElCHz1IjTgyjRofnIh2sK+r8yJJX zVgGWma797XoqygkOfgraWg85KtGET+KuJx4Ld7JgQ5Xs2/QI61JYAanBFT1+QdggvmN hyg50JGVX40D5JYeqZDklFw/kpv2nN9YwerrEn2ovYJErwyuDJFGPwdwJHJMUVN/Cpmp Tnvg== MIME-Version: 1.0 X-Received: by 10.205.32.208 with SMTP id sl16mr7026050bkb.27.1365168106314; Fri, 05 Apr 2013 06:21:46 -0700 (PDT) Received: by 10.204.30.210 with HTTP; Fri, 5 Apr 2013 06:21:46 -0700 (PDT) Date: Fri, 5 Apr 2013 21:21:46 +0800 Message-ID: Subject: [PATCH -next] nfsd4: make local function put_client_renew_locked() static From: Wei Yongjun To: bfields@fieldses.org Cc: yongjun_wei@trendmicro.com.cn, linux-nfs@vger.kernel.org Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org From: Wei Yongjun put_client_renew_locked() only used within this file. It should be static. Signed-off-by: Wei Yongjun --- fs/nfsd/nfs4state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 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 2fd0155..3225544 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c @@ -192,7 +192,7 @@ renew_client(struct nfs4_client *clp) spin_unlock(&nn->client_lock); } -void put_client_renew_locked(struct nfs4_client *clp) +static void put_client_renew_locked(struct nfs4_client *clp) { if (!atomic_dec_and_test(&clp->cl_refcount)) return;