From: Wei Yongjun Date: Fri, 5 Apr 2013 13:22:39 +0000 (+0800) Subject: nfsd: make symbol nfsd_reply_cache_shrinker static X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c8c797f9fdf655245c0d60667af6efa7b32c98f1;p=openwrt%2Fstaging%2Fblogic.git nfsd: make symbol nfsd_reply_cache_shrinker static symbol 'nfsd_reply_cache_shrinker' only used within this file. It should be static. Signed-off-by: Wei Yongjun Signed-off-by: J. Bruce Fields --- diff --git a/fs/nfsd/nfscache.c b/fs/nfsd/nfscache.c index eb2587745a64..e76244edd748 100644 --- a/fs/nfsd/nfscache.c +++ b/fs/nfsd/nfscache.c @@ -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, };