e2fsprogs/resize
Theodore Ts'o c82815e509 resize2fs: disable the meta_bg feature if necessary
When shrinking a file system, if the number block groups drops below
the point where we started using the meta_bg layout, disable the
meta_bg feature and set s_first_meta_bg to zero.  This is necessary to
avoid creating an invalid/corrupted file system after the shrink.

Addresses-Debian-Bug: #756922

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reported-by: Marcin Wolcendorf <antymat+debian@chelmska.waw.pl>
Tested-by: Marcin Wolcendorf <antymat+debian@chelmska.waw.pl>
2014-08-10 16:21:08 -04:00
..
Makefile.in Add coverage testing using gcov 2014-02-23 00:17:09 -05:00
Makefile.pq Many files: 1997-11-14 05:23:04 +00:00
extent.c Fix spelling errors pointed out by translators 2011-10-08 13:32:00 -04:00
main.c resize2fs: radically reduce memory utilization by using rbtree bitmaps 2014-07-26 00:48:29 -04:00
online.c Add support for new compat feature "sparse_super2" 2014-01-30 13:58:18 -05:00
resize2fs.8.in resize2fs: add debugging support for resize2fs -M calcuations 2013-09-30 22:12:22 -04:00
resize2fs.c resize2fs: disable the meta_bg feature if necessary 2014-08-10 16:21:08 -04:00
resize2fs.h Clean up sparse warnings 2013-12-16 18:56:36 -05:00
resource_track.c resize2fs: add resource tracking as a debug option 2013-01-03 09:03:53 -05:00
sim_progress.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
test-resize resize2fs: check in test-resize script 2013-01-16 14:09:21 -05:00
test_extent.c test_extents: fix a possible memory leak 2014-01-05 22:58:16 -05:00
test_extent.in Many files: 1997-06-17 03:52:12 +00:00