This is an automated email from the git hooks/post-receive script.
agruenba pushed a commit to branch agruenba-extents
in repository gfs2-utils.
commit ee690a5df3562948bd0830e64b01ad32ea7ce31b
Author: Andreas Gruenbacher <agruenba(a)redhat.com>
AuthorDate: Thu Apr 22 00:45:42 2021 +0200
fsck.gfs2: Move struct error_block into metawalk.c
This structure isn't used anywhere else.
Signed-off-by: Andreas Gruenbacher <agruenba(a)redhat.com>
---
gfs2/fsck/fsck.h | 6 ------
gfs2/fsck/metawalk.c | 6 ++++++
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/gfs2/fsck/fsck.h b/gfs2/fsck/fsck.h
index d23326ec..aad9a360 100644
--- a/gfs2/fsck/fsck.h
+++ b/gfs2/fsck/fsck.h
@@ -108,12 +108,6 @@ enum rgindex_trust_level { /* how far can we trust our RG index? */
must have been converted from gfs2_convert. */
};
-struct error_block {
- uint64_t metablk; /* metadata block where error was found */
- int metaoff; /* offset in that metadata block where error found */
- uint64_t errblk; /* error block */
-};
-
extern struct gfs2_inode *fsck_load_inode(struct gfs2_sbd *sdp, uint64_t block);
extern struct gfs2_inode *fsck_inode_get(struct gfs2_sbd *sdp,
struct rgrp_tree *rgd,
diff --git a/gfs2/fsck/metawalk.c b/gfs2/fsck/metawalk.c
index 43b3740b..1b5272ff 100644
--- a/gfs2/fsck/metawalk.c
+++ b/gfs2/fsck/metawalk.c
@@ -1382,6 +1382,12 @@ static unsigned int hdr_size(struct gfs2_buffer_head *bh, unsigned
int height)
return sizeof(struct gfs2_dinode);
}
+struct error_block {
+ uint64_t metablk; /* metadata block where error was found */
+ int metaoff; /* offset in that metadata block where error found */
+ uint64_t errblk; /* error block */
+};
+
/**
* check_data - check all data pointers for a given buffer
* This does not include "data" blocks that are really
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
Show replies by date