Skip to content

Commit

Permalink
nfsd: make symbol nfsd_reply_cache_shrinker static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wei Yongjun authored and J. Bruce Fields committed Apr 30, 2013
1 parent 1eb6d62 commit c8c797f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/nfsd/nfscache.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down

0 comments on commit c8c797f

Please sign in to comment.