37 lines
1.2 KiB
Diff
37 lines
1.2 KiB
Diff
From 2f8edd6e164e378773a3195a2adbfe874b288050 Mon Sep 17 00:00:00 2001
|
|
From: Andreas Gruenbacher <agruenba@redhat.com>
|
|
Date: Mon, 25 Mar 2019 23:11:04 +0000
|
|
Subject: [PATCH] libgfs2: Fix gfs[2]_log_header metadata description
|
|
|
|
We want to use the lgfs2_lh_flags array for decoding the lh_flags field
|
|
in gfs2_log_header, not gfs_log_header.
|
|
---
|
|
gfs2/libgfs2/meta.c | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/gfs2/libgfs2/meta.c b/gfs2/libgfs2/meta.c
|
|
index 486e0ea6..1da74146 100644
|
|
--- a/gfs2/libgfs2/meta.c
|
|
+++ b/gfs2/libgfs2/meta.c
|
|
@@ -388,7 +388,7 @@ MH(jd_header)
|
|
static const struct lgfs2_metafield gfs2_log_header_fields[] = {
|
|
MH(lh_header)
|
|
F(lh_sequence)
|
|
-F(lh_flags)
|
|
+F(lh_flags, .flags = LGFS2_MFF_MASK, .symtab = lgfs2_lh_flags, .nsyms = ARRAY_SIZE(lgfs2_lh_flags))
|
|
F(lh_tail)
|
|
F(lh_blkno)
|
|
F(lh_hash, .flags = LGFS2_MFF_CHECK)
|
|
@@ -411,7 +411,7 @@ F(lh_local_dinodes, .flags = LGFS2_MFF_FSBLOCKS)
|
|
|
|
static const struct lgfs2_metafield gfs_log_header_fields[] = {
|
|
MH(lh_header)
|
|
-F(lh_flags, .flags = LGFS2_MFF_MASK, .symtab = lgfs2_lh_flags, .nsyms = ARRAY_SIZE(lgfs2_lh_flags))
|
|
+F(lh_flags)
|
|
RF(lh_pad)
|
|
F(lh_first)
|
|
F(lh_sequence)
|
|
--
|
|
2.33.0
|
|
|