]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - resize/resize2fs.c
resize2fs: Fix support for filesystems with the uninit_bg feature
authorTheodore Ts'o <tytso@mit.edu>
Fri, 22 Aug 2008 07:03:42 +0000 (03:03 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 22 Aug 2008 07:03:42 +0000 (03:03 -0400)
commit86acdebd539864908127561034752082c86105e2
tree7795e3ce93480a1e751ba9e14abc31dfae129e76
parentc71d781370c29f283fdaea01783b5257e508df0f
resize2fs: Fix support for filesystems with the uninit_bg feature

If the filesystem has the uninit_bg feature, then parts of the block
and inode bitmap may not be initialized.  Teach resize2fs how to deal
with these case appropriately.  (Most of these fixes were fortunately
not necessary for the common case where the resize_inode is present to
reserve space, and where the filesystem is being expanded instead of
being shrunk.)

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