File gfs2_edit_fix_careless_compiler_warning.patch of Package cluster

commit 8bad0161fb746d58889758d5d2b0e28ed8e3bcbc
Author: Bob Peterson <rpeterso@redhat.com>
Date:   Thu Feb 3 11:04:20 2011 -0600

    gfs2_edit: fix careless compiler warning
    
    This patch fixes a couple compiler warnings I accidentally
    introduced with the previous patches.
    
    rhbz#674843

diff --git a/gfs2/edit/hexedit.c b/gfs2/edit/hexedit.c
index 2a88a40..c82ddae 100644
--- a/gfs2/edit/hexedit.c
+++ b/gfs2/edit/hexedit.c
@@ -3143,9 +3143,9 @@ static void check_journal_wrap(uint64_t seq, uint64_t *highest_seq)
 	*highest_seq = seq;
 }
 
-int is_meta(struct gfs2_buffer_head *bh)
+static int is_meta(struct gfs2_buffer_head *lbh)
 {
-	uint32_t check_magic = ((struct gfs2_meta_header *)(bh->b_data))->mh_magic;
+	uint32_t check_magic = ((struct gfs2_meta_header *)(lbh->b_data))->mh_magic;
 
 	check_magic = be32_to_cpu(check_magic);
 	if (check_magic == GFS2_MAGIC)