]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
resize2fs, libext2fs: fix bugs in sparse_super2 support
authorTheodore Ts'o <tytso@mit.edu>
Wed, 11 May 2016 01:06:15 +0000 (21:06 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 11 May 2016 01:06:15 +0000 (21:06 -0400)
commitaaa1ae0856fa4b2517cac9d7011316d55bbf6ed8
tree2abf8bd1907e71ad6680345d6f0845b4ddf41f22
parenta039df9c4a5a8977617786f6485da5386153fb22
resize2fs, libext2fs: fix bugs in sparse_super2 support

Fix resize2fs so that the location of the backup superblocks when the
sparse_super2 feature is enabled is properly set when growing the file
system from a single block group to larger file system sizes.

Also fix a bug where the block group summary statistics in some cases
when exapnding a sparse_super2 file system.

Finally, accurately calculate the file system metadata overhead of the
last block group in sparse_super2 file systems.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/initialize.c
resize/resize2fs.c