@@ -956,7 +956,7 @@ restart:
#else
io_ptr = unix_io_manager;
#endif
- flags = EXT2_FLAG_NOFREE_ON_ERROR;
+ flags = EXT2_FLAG_NOFREE_ON_ERROR | EXT2_FLAG_NEW_BITMAPS;
if ((ctx->options & E2F_OPT_READONLY) == 0)
flags |= EXT2_FLAG_RW;
if ((ctx->mount_flags & EXT2_MF_MOUNTED) == 0)
@@ -1868,8 +1868,9 @@ int main (int argc, char *argv[])
/*
* Initialize the superblock....
*/
- retval = ext2fs_initialize(device_name, EXT2_FLAG_EXCLUSIVE, &fs_param,
- io_ptr, &fs);
+ retval = ext2fs_initialize(device_name,
+ EXT2_FLAG_EXCLUSIVE | EXT2_FLAG_NEW_BITMAPS,
+ &fs_param, io_ptr, &fs);
if (retval) {
com_err(device_name, retval, _("while setting up superblock"));
exit(1);
Signed-off-by: Valerie Aurora Henson <vaurora@redhat.com> --- e2fsck/unix.c | 2 +- misc/mke2fs.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-)