diff options
author | Bob Peterson <rpeterso@redhat.com> | 2017-08-18 16:15:13 +0200 |
---|---|---|
committer | Bob Peterson <rpeterso@redhat.com> | 2017-08-26 01:47:18 +0200 |
commit | 27c3b415f6ffe6d29a95c8187e35436fcc9638b6 (patch) | |
tree | 462a65c862eee03df2a72490e5ab6d44ec25728f /fs/gfs2/util.h | |
parent | gfs2: Silence gcc format-truncation warning (diff) | |
download | linux-27c3b415f6ffe6d29a95c8187e35436fcc9638b6.tar.xz linux-27c3b415f6ffe6d29a95c8187e35436fcc9638b6.zip |
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.h | 1 |
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) |