forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
1eb6d6223a
commit
c8c797f9fd
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user