projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1eb6d62
)
nfsd: make symbol nfsd_reply_cache_shrinker static
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Fri, 5 Apr 2013 13:22:39 +0000
(21:22 +0800)
committer
J. Bruce Fields
<bfields@redhat.com>
Tue, 30 Apr 2013 22:19:34 +0000
(18:19 -0400)
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>
fs/nfsd/nfscache.c
patch
|
blob
|
history
diff --git
a/fs/nfsd/nfscache.c
b/fs/nfsd/nfscache.c
index eb2587745a6409326c7358228a5ef02eb8719a1c..e76244edd748843cc7b906ba9ebf5dadd5784641 100644
(file)
--- 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 = {
+st
atic st
ruct shrinker nfsd_reply_cache_shrinker = {
.shrink = nfsd_reply_cache_shrink,
.seeks = 1,
};