summaryrefslogtreecommitdiff
path: root/fs/gfs2/xattr.c
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/xattr.c
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/xattr.c')
-rw-r--r--fs/gfs2/xattr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/gfs2/xattr.c b/fs/gfs2/xattr.c
index 54179554c7d2..cf694de4991a 100644
--- a/fs/gfs2/xattr.c
+++ b/fs/gfs2/xattr.c
@@ -25,6 +25,7 @@
#include "meta_io.h"
#include "quota.h"
#include "rgrp.h"
+#include "super.h"
#include "trans.h"
#include "util.h"