This is an automated email from the git hooks/post-receive script.
andyp pushed a commit to branch andyp-sparse
in repository gfs2-utils.
The following commit(s) were added to refs/heads/andyp-sparse by this push:
new d50cabcd fsck.gfs2: Set prev_seq to the correct value when renumbering
d50cabcd is described below
commit d50cabcd2fa4a37b671ee1d4b24cfd39094dee22
Author: Andrew Price <anprice(a)redhat.com>
AuthorDate: Thu Jun 17 12:30:05 2021 +0100
fsck.gfs2: Set prev_seq to the correct value when renumbering
An assignment of lh.lh_sequence = highest_seq was removed in an earlier
patch but the prev_seq assignment was not updated to use highest_seq
instead of lh.lh_sequence.
Signed-off-by: Andrew Price <anprice(a)redhat.com>
---
gfs2/fsck/fs_recovery.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gfs2/fsck/fs_recovery.c b/gfs2/fsck/fs_recovery.c
index 78bdbd2b..12b8d704 100644
--- a/gfs2/fsck/fs_recovery.c
+++ b/gfs2/fsck/fs_recovery.c
@@ -434,7 +434,7 @@ static int check_journal_seq_no(struct gfs2_inode *ip, int fix)
if (!fix)
continue;
highest_seq++;
- prev_seq = lh.lh_sequence;
+ prev_seq = highest_seq;
log_warn(_("Renumbering it as 0x%"PRIx64"\n"), highest_seq);
block_map(ip, blk, &new, &dblock, NULL, 0);
bh = bread(ip->i_sbd, dblock);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
Show replies by date