diff options
author | Stefan Brüns <stefan.bruens@rwth-aachen.de> | 2016-09-17 02:10:07 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-09-23 09:18:56 -0400 |
commit | fc214ef90910159f33fbe92a6cb77839a27fa8a6 (patch) | |
tree | 2e6b1fc13ed19e24b3992d6fd10197a4ee82da41 /include/ext4fs.h | |
parent | 3ee2f977f3649bcc1d0de86356145e8e6999575a (diff) | |
download | u-boot-fc214ef90910159f33fbe92a6cb77839a27fa8a6.tar.gz u-boot-fc214ef90910159f33fbe92a6cb77839a27fa8a6.tar.bz2 u-boot-fc214ef90910159f33fbe92a6cb77839a27fa8a6.zip |
ext4: determine group descriptor size for 64bit feature
If EXT4_FEATURE_INCOMPAT_64BIT is set, the descriptor can be read from
the superblocks, otherwise it defaults to 32.
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Diffstat (limited to 'include/ext4fs.h')
-rw-r--r-- | include/ext4fs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ext4fs.h b/include/ext4fs.h index 6e31c73812..7e1ee6c175 100644 --- a/include/ext4fs.h +++ b/include/ext4fs.h @@ -87,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 */ |