From 73c15c634dda388e21eaf0ebc85e324872df0d25 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 3 Oct 2012 11:37:49 +0000 Subject: ext4: Rename block group descriptor table from gd to bgd On x86 machines gd is unfortunately a #define, so we should avoid using gd for anything. This patch changes uses of gd to bgd so that ext4fs can be used on x86. A better fix would be to remove the #define in x86, but I'm not sure how to do that. Signed-off-by: Simon Glass --- include/ext4fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/ext4fs.h') diff --git a/include/ext4fs.h b/include/ext4fs.h index b6eedde31..23298fcd7 100644 --- a/include/ext4fs.h +++ b/include/ext4fs.h @@ -94,7 +94,7 @@ struct ext_filesystem { /* Superblock */ struct ext2_sblock *sb; /* Block group descritpor table */ - struct ext2_block_group *gd; + struct ext2_block_group *bgd; char *gdtable; /* Block Bitmap Related */ -- cgit v1.2.3