mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 22:02:02 +00:00
nfsd: make nfsd_filecache_wq variable static
Fix sparse warning: fs/nfsd/filecache.c:55:25: warning: symbol 'nfsd_filecache_wq' was not declared. Should it be static? Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Chen Zhou <chenzhou10@huawei.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
parent
91fd3c3edc
commit
50d0def966
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ struct nfsd_fcache_disposal {
|
|||
struct rcu_head rcu;
|
||||
};
|
||||
|
||||
struct workqueue_struct *nfsd_filecache_wq __read_mostly;
|
||||
static struct workqueue_struct *nfsd_filecache_wq __read_mostly;
|
||||
|
||||
static struct kmem_cache *nfsd_file_slab;
|
||||
static struct kmem_cache *nfsd_file_mark_slab;
|
||||
|
|
Loading…
Reference in a new issue