summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-10-03 11:37:49 +0000
committerTom Rini <trini@ti.com>2012-10-03 18:21:33 -0700
commit73c15c634dda388e21eaf0ebc85e324872df0d25 (patch)
tree54790af1fde1e994a7ce858cb38caa9a3360667e /include
parentbb64d1c92fbbc2441772f2eb9b4527499955c04e (diff)
downloadu-boot-imx-73c15c634dda388e21eaf0ebc85e324872df0d25.zip
u-boot-imx-73c15c634dda388e21eaf0ebc85e324872df0d25.tar.gz
u-boot-imx-73c15c634dda388e21eaf0ebc85e324872df0d25.tar.bz2
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 <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/ext4fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ext4fs.h b/include/ext4fs.h
index b6eedde..23298fc 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 */