From patchwork Fri Apr 5 13:22:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Yongjun X-Patchwork-Id: 2398431 Return-Path: X-Original-To: patchwork-linux-nfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id AA560DF2E5 for ; Fri, 5 Apr 2013 13:22:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161339Ab3DENWl (ORCPT ); Fri, 5 Apr 2013 09:22:41 -0400 Received: from mail-bk0-f42.google.com ([209.85.214.42]:41161 "EHLO mail-bk0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161152Ab3DENWk (ORCPT ); Fri, 5 Apr 2013 09:22:40 -0400 Received: by mail-bk0-f42.google.com with SMTP id jc3so2079667bkc.29 for ; Fri, 05 Apr 2013 06:22:39 -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=EJYs2BQcCC8RZ3cU2xegb0xB201vkRp/aRCvJn8WwC8=; b=LYprzCSN/UmKRVvYK+VYSQ2jXhTn5MWcLLNdcm3t2KSbOr6Jrxv89xbMN5iqLOKovP oNb3mi+WfzUNcHxhtlG/HzuUe0onBgvI6P/2EK0ca/UFvXfIHA3LGsedSAK6s56NWJcZ r+Z+VY+NBdAJJ4K7FQIzrf+mHXOK0gJudvm87HBM8uTOX/5EU2WSQecWJddQ2KoYDSx/ B1kxZXUjTKMnq9q4zcFYixiQLkxY28IPkOQxVCTnENMBoTBg/ae4Hfp1q06H3V4RGGld MVaYhlRAZEFBSV2jzHQObjwNDSbXJ0y7NDyqXJF36Uyj5B/NywntA7rJNbmjxriolENL t0HQ== MIME-Version: 1.0 X-Received: by 10.205.116.131 with SMTP id fi3mr6918244bkc.58.1365168159201; Fri, 05 Apr 2013 06:22:39 -0700 (PDT) Received: by 10.204.30.210 with HTTP; Fri, 5 Apr 2013 06:22:39 -0700 (PDT) Date: Fri, 5 Apr 2013 21:22:39 +0800 Message-ID: Subject: [PATCH -next] nfsd: make symbol nfsd_reply_cache_shrinker 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 symbol 'nfsd_reply_cache_shrinker' only used within this file. It should be static. Signed-off-by: Wei Yongjun --- fs/nfsd/nfscache.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/nfscache.c b/fs/nfsd/nfscache.c index f8bb605..890a507 100644 --- a/fs/nfsd/nfscache.c +++ b/fs/nfsd/nfscache.c @@ -56,7 +56,7 @@ static void cache_cleaner_func(struct work_struct *unused); static int nfsd_reply_cache_shrink(struct shrinker *shrink, struct shrink_control *sc); -struct shrinker nfsd_reply_cache_shrinker = { +static struct shrinker nfsd_reply_cache_shrinker = { .shrink = nfsd_reply_cache_shrink, .seeks = 1, };