]> git.karo-electronics.de Git - linux-beck.git/commitdiff
nfsd: make symbol nfsd_reply_cache_shrinker static
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 5 Apr 2013 13:22:39 +0000 (21:22 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 30 Apr 2013 22:19:34 +0000 (18:19 -0400)
symbol 'nfsd_reply_cache_shrinker' only used within this file. It should
be static.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfscache.c

index eb2587745a6409326c7358228a5ef02eb8719a1c..e76244edd748843cc7b906ba9ebf5dadd5784641 100644 (file)
@@ -62,7 +62,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,
 };