]> git.sur5r.net Git - u-boot/blobdiff - include/ext4fs.h
dtoc: Add a way for tests to request the fallback library
[u-boot] / include / ext4fs.h
index e3f6216fa91f695423de93a4a84c0c766b26d20e..965cd9e9c507affcd5316ca161499493aab386a5 100644 (file)
@@ -28,6 +28,7 @@
 #define __EXT4__
 #include <ext_common.h>
 
+#define EXT4_INDEX_FL          0x00001000 /* Inode uses hash tree index */
 #define EXT4_EXTENTS_FL                0x00080000 /* Inode uses extents */
 #define EXT4_EXT_MAGIC                 0xf30a
 #define EXT4_FEATURE_RO_COMPAT_GDT_CSUM        0x0010
@@ -86,6 +87,8 @@ struct ext_filesystem {
        uint32_t inodesz;
        /* Sectors per Block */
        uint32_t sect_perblk;
+       /* Group Descriptor size */
+       uint16_t gdsize;
        /* Group Descriptor Block Number */
        uint32_t gdtable_blkno;
        /* Total block groups of partition */
@@ -95,7 +98,6 @@ struct ext_filesystem {
        /* Superblock */
        struct ext2_sblock *sb;
        /* Block group descritpor table */
-       struct ext2_block_group *bgd;
        char *gdtable;
 
        /* Block Bitmap Related */