This is an automated email from the git hooks/post-receive script.
andyp pushed a commit to branch master in repository gfs2-utils.
commit 2f8edd6e164e378773a3195a2adbfe874b288050 Author: Andreas Gruenbacher agruenba@redhat.com AuthorDate: Mon Mar 25 23:11:04 2019 +0000
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 486e0ea..1da7414 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)