summaryrefslogtreecommitdiff
path: root/fs/gfs2/util.h
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2017-08-18 17:15:13 +0300
committerBob Peterson <rpeterso@redhat.com>2017-08-26 02:47:18 +0300
commit27c3b415f6ffe6d29a95c8187e35436fcc9638b6 (patch)
tree462a65c862eee03df2a72490e5ab6d44ec25728f /fs/gfs2/util.h
parent561b796987af8b169c47375194527219ef5b0974 (diff)
downloadlinux-27c3b415f6ffe6d29a95c8187e35436fcc9638b6.tar.xz
GFS2: Fix up some sparse warnings
This patch cleans up various pieces of GFS2 to avoid sparse errors. This doesn't fix them all, but it fixes several. The first error, in function glock_hash_walk was a genuine bug where the rhashtable could be started and not stopped. Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'fs/gfs2/util.h')
-rw-r--r--fs/gfs2/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/gfs2/util.h b/fs/gfs2/util.h
index c81295f407f6..3926f95a6eb7 100644
--- a/fs/gfs2/util.h
+++ b/fs/gfs2/util.h
@@ -151,6 +151,7 @@ extern struct kmem_cache *gfs2_rgrpd_cachep;
extern struct kmem_cache *gfs2_quotad_cachep;
extern struct kmem_cache *gfs2_qadata_cachep;
extern mempool_t *gfs2_page_pool;
+extern struct workqueue_struct *gfs2_control_wq;
static inline unsigned int gfs2_tune_get_i(struct gfs2_tune *gt,
unsigned int *p)