From 688d0e79f657ed0b60e5b721bd00540021e1e518 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= Date: Sat, 17 Sep 2016 02:10:10 +0200 Subject: ext4: Use helper function to access group descriptor and its fields MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The descriptor size is variable, thus array indices are not generically applicable. The larger group descriptors also contain e.g. high parts of block numbers, which have to be read and written. Signed-off-by: Stefan BrĂ¼ns --- include/ext4fs.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/ext4fs.h') diff --git a/include/ext4fs.h b/include/ext4fs.h index 7e1ee6c..965cd9e 100644 --- a/include/ext4fs.h +++ b/include/ext4fs.h @@ -98,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 */ -- cgit v1.1