diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-04-05 21:22:39 +0800 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2013-04-30 18:19:34 -0400 |
commit | c8c797f9fdf655245c0d60667af6efa7b32c98f1 (patch) | |
tree | 6e7134c96b5ac36ab264adb835226578d9cf2748 | |
parent | 1eb6d6223aaac87538a0e9aa0d30980df224914c (diff) |
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 <yongjun_wei@trendmicro.com.cn>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
-rw-r--r-- | fs/nfsd/nfscache.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, }; |