summaryrefslogtreecommitdiff
path: root/include/ext4fs.h
diff options
context:
space:
mode:
authorStefan Brüns <stefan.bruens@rwth-aachen.de>2016-09-17 02:10:07 +0200
committerTom Rini <trini@konsulko.com>2016-09-23 09:18:56 -0400
commitfc214ef90910159f33fbe92a6cb77839a27fa8a6 (patch)
tree2e6b1fc13ed19e24b3992d6fd10197a4ee82da41 /include/ext4fs.h
parent3ee2f977f3649bcc1d0de86356145e8e6999575a (diff)
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.h2
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 */