diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2021-02-16 21:02:02 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-02-18 09:23:42 +0100 |
commit | 47fe8d54c41a8076bb936f4b45304117af3a493d (patch) | |
tree | b02a5698ce626c2c810b74efd707bafcbc27207c /fs | |
parent | 77bafc30c0b6bf0289f44f08f462310b86e7b4be (diff) | |
download | barebox-47fe8d54c41a8076bb936f4b45304117af3a493d.tar.gz barebox-47fe8d54c41a8076bb936f4b45304117af3a493d.tar.xz |
fs: ext4: ext4fs.h: remove unused struct members of ext_filesystem
struct ext_filesystem is for in-memory bookkeeping but most of it is
unused by barebox and just takes up space. Drop the unused members.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ext4/ext4fs.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/fs/ext4/ext4fs.h b/fs/ext4/ext4fs.h index 17a490a943..5cf33bcf35 100644 --- a/fs/ext4/ext4fs.h +++ b/fs/ext4/ext4fs.h @@ -74,39 +74,10 @@ struct ext4_extent_header { }; struct ext_filesystem { - /* Total Sector of partition */ - uint64_t total_sect; - /* Block size of partition */ - uint32_t blksz; /* Inode size of partition */ 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 */ - uint32_t no_blkgrp; - /* No of blocks required for bgdtable */ - uint32_t no_blk_pergdt; - /* Superblock */ - struct ext2_sblock *sb; - /* Block group descritpor table */ - struct ext2_block_group *bgd; - char *gdtable; - - /* Block Bitmap Related */ - unsigned char **blk_bmaps; - long int curr_blkno; - uint16_t first_pass_bbmap; - - /* Inode Bitmap Related */ - unsigned char **inode_bmaps; - int curr_inode_no; - uint16_t first_pass_ibmap; - - /* Journal Related */ /* Block Device Descriptor */ struct cdev *cdev; |