This is an automated email from the git hooks/post-receive script.
andyp pushed a commit to branch andyp-fsck_cx
in repository gfs2-utils.
commit 96a87624b8768ab1f68d7467883d71cb98b94b32
Author: Andrew Price <anprice(a)redhat.com>
AuthorDate: Mon Aug 1 11:33:32 2022 +0100
fsck.gfs2: Pass fsck_cx into update_rgrp()
Signed-off-by: Andrew Price <anprice(a)redhat.com>
---
gfs2/fsck/pass5.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gfs2/fsck/pass5.c b/gfs2/fsck/pass5.c
index 7c8dfce5..1d19bac7 100644
--- a/gfs2/fsck/pass5.c
+++ b/gfs2/fsck/pass5.c
@@ -113,9 +113,10 @@ static int check_block_status(struct lgfs2_sbd *sdp, struct bmap
*bl,
return 0;
}
-static void update_rgrp(struct lgfs2_sbd *sdp, struct lgfs2_rgrp_tree *rgp,
+static void update_rgrp(struct fsck_cx *cx, struct lgfs2_rgrp_tree *rgp,
struct bmap *bl, uint32_t *count)
{
+ struct lgfs2_sbd *sdp = cx->sdp;
uint32_t i;
struct lgfs2_bitmap *bits;
uint64_t rg_block = 0;
@@ -213,7 +214,7 @@ int pass5(struct fsck_cx *cx, struct bmap *bl)
rg_count++;
/* Compare the bitmaps and report the differences */
- update_rgrp(sdp, rgp, bl, count);
+ update_rgrp(cx, rgp, bl, count);
}
/* Fix up superblock info based on this - don't think there's
* anything to do here... */
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.