commit | 28623c2f5b0dca3c3ea34fd6108940661352e276 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Wed Sep 05 01:31:50 2012 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Wed Sep 05 01:31:50 2012 -0400 |
tree | ec5bf1df32709f0ebf359ce05b16f8ef608d2e9e | |
parent | 117fff10d7f140e12dd43df20d3f9fda80577460 [diff] |
ext4: grow the s_group_info array as needed Previously we allocated the s_group_info array with enough space for any future possible growth of the file system via online resize. This is unfortunate because it wastes memory, and it doesn't work for the meta_bg scheme, since there is no limit based on the number of reserved gdt blocks. So add the code to grow the s_group_info array as needed. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>