Blame SOURCES/bz1487726-4-fsck_gfs2_Disambiguate_check_metalist.patch

9257a6
commit 9b201fd8c20a27d5802862ed63e895b5e4204b3e
9257a6
Author: Andrew Price <anprice@redhat.com>
9257a6
Date:   Fri Jun 14 11:41:03 2019 +0100
9257a6
9257a6
    fsck.gfs2: Disambiguate check_metalist
9257a6
    
9257a6
    Rename to pass1_check_metalist
9257a6
    
9257a6
    Signed-off-by: Andrew Price <anprice@redhat.com>
9257a6
9257a6
diff --git a/gfs2/fsck/pass1.c b/gfs2/fsck/pass1.c
9257a6
index 0b59971d..f03078e9 100644
9257a6
--- a/gfs2/fsck/pass1.c
9257a6
+++ b/gfs2/fsck/pass1.c
9257a6
@@ -39,7 +39,7 @@ struct block_count {
9257a6
 };
9257a6
 
9257a6
 static int p1check_leaf(struct gfs2_inode *ip, uint64_t block, void *private);
9257a6
-static int check_metalist(struct gfs2_inode *ip, uint64_t block,
9257a6
+static int pass1_check_metalist(struct gfs2_inode *ip, uint64_t block,
9257a6
 			  struct gfs2_buffer_head **bh, int h, int *is_valid,
9257a6
 			  int *was_duplicate, void *private);
9257a6
 static int undo_check_metalist(struct gfs2_inode *ip, uint64_t block,
9257a6
@@ -191,7 +191,7 @@ out:
9257a6
 struct metawalk_fxns pass1_fxns = {
9257a6
 	.private = NULL,
9257a6
 	.check_leaf = p1check_leaf,
9257a6
-	.check_metalist = check_metalist,
9257a6
+	.check_metalist = pass1_check_metalist,
9257a6
 	.check_data = pass1_check_data,
9257a6
 	.check_eattr_indir = check_eattr_indir,
9257a6
 	.check_eattr_leaf = check_eattr_leaf,
9257a6
@@ -344,7 +344,7 @@ static int p1check_leaf(struct gfs2_inode *ip, uint64_t block, void *private)
9257a6
 	return 0;
9257a6
 }
9257a6
 
9257a6
-static int check_metalist(struct gfs2_inode *ip, uint64_t block,
9257a6
+static int pass1_check_metalist(struct gfs2_inode *ip, uint64_t block,
9257a6
 			  struct gfs2_buffer_head **bh, int h, int *is_valid,
9257a6
 			  int *was_duplicate, void *private)
9257a6
 {