From: Chen Zhou Date: Mon, 3 Feb 2020 01:43:57 +0000 (+0800) Subject: nfsd: make nfsd_filecache_wq variable static X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=50d0def966a5f1237ba647e827a945e8ece4c10b;p=linux.git 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 Signed-off-by: Chen Zhou Signed-off-by: J. Bruce Fields --- diff --git a/fs/nfsd/filecache.c b/fs/nfsd/filecache.c index 23c1fa5da1e9e..22e77ede9f146 100644 --- a/fs/nfsd/filecache.c +++ b/fs/nfsd/filecache.c @@ -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;