]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blobdiff - e2fsck/util.c
Merge branch 'maint' into next
[thirdparty/e2fsprogs.git] / e2fsck / util.c
index fa529b4e09381e641af134a743afc2cd021e2389..e36e90291247e1c3991a2b20efb27dc626f96681 100644 (file)
@@ -278,7 +278,9 @@ void e2fsck_read_bitmaps(e2fsck_t ctx)
        old_op = ehandler_operation(_("reading inode and block bitmaps"));
        e2fsck_set_bitmap_type(fs, EXT2FS_BMAP64_RBTREE, "fs_bitmaps",
                               &save_type);
+       ctx->fs->flags |= EXT2_FLAG_IGNORE_CSUM_ERRORS;
        retval = ext2fs_read_bitmaps(fs);
+       ctx->fs->flags &= ~EXT2_FLAG_IGNORE_CSUM_ERRORS;
        fs->default_bitmap_type = save_type;
        ehandler_operation(old_op);
        if (retval) {