diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-04-05 13:22:39 (GMT) |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2013-04-30 22:19:34 (GMT) |
commit | c8c797f9fdf655245c0d60667af6efa7b32c98f1 (patch) | |
tree | 6e7134c96b5ac36ab264adb835226578d9cf2748 /fs/nfsd/nfscache.c | |
parent | 1eb6d6223aaac87538a0e9aa0d30980df224914c (diff) | |
download | linux-fsl-qoriq-c8c797f9fdf655245c0d60667af6efa7b32c98f1.tar.xz |
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>
Diffstat (limited to 'fs/nfsd/nfscache.c')
-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 eb25877..e76244e 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, }; |