summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/xattr.c
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2017-08-18 16:15:13 +0200
committerBob Peterson <rpeterso@redhat.com>2017-08-26 01:47:18 +0200
commit27c3b415f6ffe6d29a95c8187e35436fcc9638b6 (patch)
tree462a65c862eee03df2a72490e5ab6d44ec25728f /fs/gfs2/xattr.c
parentgfs2: Silence gcc format-truncation warning (diff)
downloadlinux-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 '')
-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"