Skip to content
Snippets Groups Projects
Commit c887d9d0 authored by alex's avatar alex
Browse files

fix issue with >8TB fs: group doesn't fit in 16bits anymore

b=16101
i=adilger
i=kalpak
parent 4d6312eb
No related branches found
No related tags found
No related merge requests found
......@@ -575,7 +575,7 @@ Index: linux-2.6.18-53.1.14/fs/ext3/mballoc.c
+#define EXT3_BB_MAX_BLOCKS 30
+
+struct ext3_free_metadata {
+ unsigned short group;
+ unsigned group;
+ unsigned short num;
+ unsigned short blocks[EXT3_BB_MAX_BLOCKS];
+ struct list_head list;
......@@ -704,8 +704,8 @@ Index: linux-2.6.18-53.1.14/fs/ext3/mballoc.c
+ void *bd_bitmap;
+ struct ext3_group_info *bd_info;
+ struct super_block *bd_sb;
+ __u16 bd_blkbits;
+ __u16 bd_group;
+ unsigned bd_group;
+ unsigned bd_blkbits;
+};
+#define EXT3_MB_BITMAP(e3b) ((e3b)->bd_bitmap)
+#define EXT3_MB_BUDDY(e3b) ((e3b)->bd_buddy)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment