More patch description fixups. Standardize case.
[ext4-patch-queue.git] / ext4_sync_group_desciptor_with_e2fsprogs.patch
bloba2e78c35fbcadc693ef8eb6a5f54ef09fc452c37
1 ext4: sync up block group descriptor with e2fsprogs.
3 From: Coly Li <coyli@suse.de>
5 This patch extends bg_itable_unused of ext4 group descriptor
6 from 16bit into 32bit. In order to add bg_itable_unused_hi into
7 struct ext4_group_desc, some extra fields which are already introduced into
8 e2fsprogs are also added in for consistency.
10 Signed-off-by: Coly Li <coyli@suse.de>
11 Cc: Andreas Dilger <adilger@clusterfs.com>
12 Signed-off-by: Mingming Cao <cmm@us.ibm.com>
13 ---
15 include/linux/ext4_fs.h | 5 +++++
16 1 files changed, 5 insertions(+), 0 deletions(-)
19 diff --git a/include/linux/ext4_fs.h b/include/linux/ext4_fs.h
20 index 6ae91f4..55a376e 100644
21 --- a/include/linux/ext4_fs.h
22 +++ b/include/linux/ext4_fs.h
23 @@ -118,6 +118,11 @@ struct ext4_group_desc
24 __le32 bg_block_bitmap_hi; /* Blocks bitmap block MSB */
25 __le32 bg_inode_bitmap_hi; /* Inodes bitmap block MSB */
26 __le32 bg_inode_table_hi; /* Inodes table block MSB */
27 + __le16 bg_free_blocks_count_hi;/* Free blocks count MSB */
28 + __le16 bg_free_inodes_count_hi;/* Free inodes count MSB */
29 + __le16 bg_used_dirs_count_hi; /* Directories count MSB */
30 + __le16 bg_itable_unused_hi; /* Unused inodes count MSB */
31 + __u32 bg_reserved2[3];
34 #define EXT4_BG_INODE_UNINIT 0x0001 /* Inode table/bitmap not in use */