summaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-04-05 15:22:39 +0200
committerJ. Bruce Fields <bfields@redhat.com>2013-05-01 00:19:34 +0200
commitc8c797f9fdf655245c0d60667af6efa7b32c98f1 (patch)
tree6e7134c96b5ac36ab264adb835226578d9cf2748 /fs/nfsd
parentsvcauth_gss: fix error return code in rsc_parse() (diff)
downloadlinux-c8c797f9fdf655245c0d60667af6efa7b32c98f1.tar.xz
linux-c8c797f9fdf655245c0d60667af6efa7b32c98f1.zip
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')
-rw-r--r--fs/nfsd/nfscache.c2
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,
};