summaryrefslogtreecommitdiff
path: root/fs/gfs2/super.h
diff options
context:
space:
mode:
authorAndrew Price <anprice@redhat.com>2021-02-05 17:10:17 +0000
committerAndreas Gruenbacher <agruenba@redhat.com>2021-02-08 13:00:36 +0100
commit47b7ec1daa511cd82cb9c31e88bfdb664b031d2a (patch)
tree02045639426ae6b2a2c72f602184e7a0a90de1ca /fs/gfs2/super.h
parent78178ca844f0eb88f21f31c7fde969384be4c901 (diff)
gfs2: Enable rgrplvb for sb_fs_format 1802
Turn on rgrplvb by default for sb_fs_format > 1801. Mount options still have to override this so a new args field to differentiate between 'off' and 'not specified' is added, and the new default is applied only when it's not specified. Signed-off-by: Andrew Price <anprice@redhat.com> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/super.h')
-rw-r--r--fs/gfs2/super.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/gfs2/super.h b/fs/gfs2/super.h
index c9fb2a654181..977079693bdc 100644
--- a/fs/gfs2/super.h
+++ b/fs/gfs2/super.h
@@ -11,6 +11,10 @@
#include <linux/dcache.h>
#include "incore.h"
+/* Supported fs format version range */
+#define GFS2_FS_FORMAT_MIN (1801)
+#define GFS2_FS_FORMAT_MAX (1802)
+
extern void gfs2_lm_unmount(struct gfs2_sbd *sdp);
static inline unsigned int gfs2_jindex_size(struct gfs2_sbd *sdp)