summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfscache.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-04-05 21:22:39 +0800
committerJ. Bruce Fields <bfields@redhat.com>2013-04-30 18:19:34 -0400
commitc8c797f9fdf655245c0d60667af6efa7b32c98f1 (patch)
tree6e7134c96b5ac36ab264adb835226578d9cf2748 /fs/nfsd/nfscache.c
parent1eb6d6223aaac87538a0e9aa0d30980df224914c (diff)
downloadop-kernel-dev-c8c797f9fdf655245c0d60667af6efa7b32c98f1.zip
op-kernel-dev-c8c797f9fdf655245c0d60667af6efa7b32c98f1.tar.gz
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.c2
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,
};
OpenPOWER on IntegriCloud