GFS2: Fix up some sparse warnings
authorBob Peterson <rpeterso@redhat.com>
Fri, 18 Aug 2017 14:15:13 +0000 (09:15 -0500)
committerBob Peterson <rpeterso@redhat.com>
Fri, 25 Aug 2017 23:47:18 +0000 (18:47 -0500)
commit27c3b415f6ffe6d29a95c8187e35436fcc9638b6
tree462a65c862eee03df2a72490e5ab6d44ec25728f
parent561b796987af8b169c47375194527219ef5b0974
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>
fs/gfs2/glock.c
fs/gfs2/lock_dlm.c
fs/gfs2/util.h
fs/gfs2/xattr.c