From fc214ef90910159f33fbe92a6cb77839a27fa8a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= Date: Sat, 17 Sep 2016 02:10:07 +0200 Subject: ext4: determine group descriptor size for 64bit feature MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- include/ext4fs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/ext4fs.h b/include/ext4fs.h index 6e31c738123..7e1ee6c1750 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 */ -- cgit v1.2.3