diff options
Diffstat (limited to 'e2fsck/super.c')
-rw-r--r-- | e2fsck/super.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/e2fsck/super.c b/e2fsck/super.c index b10539a9..fbc8b8a2 100644 --- a/e2fsck/super.c +++ b/e2fsck/super.c @@ -647,8 +647,8 @@ void check_super_block(e2fsck_t ctx) } if (!csum_flag && - (ext2fs_bg_flag_test(fs, i, EXT2_BG_BLOCK_UNINIT) || - ext2fs_bg_flag_test(fs, i, EXT2_BG_INODE_UNINIT) || + (ext2fs_bg_flags_test(fs, i, EXT2_BG_BLOCK_UNINIT) || + ext2fs_bg_flags_test(fs, i, EXT2_BG_INODE_UNINIT) || gd->bg_itable_unused != 0)){ if (fix_problem(ctx, PR_0_GDT_UNINIT, &pctx)) { ext2fs_bg_flags_clear(fs, i, EXT2_BG_BLOCK_UNINIT); @@ -660,7 +660,7 @@ void check_super_block(e2fsck_t ctx) } if (i == fs->group_desc_count - 1 && - ext2fs_bg_flag_test(fs, i, EXT2_BG_BLOCK_UNINIT)) { + ext2fs_bg_flags_test(fs, i, EXT2_BG_BLOCK_UNINIT)) { if (fix_problem(ctx, PR_0_BB_UNINIT_LAST, &pctx)) { ext2fs_bg_flags_clear(fs, i, EXT2_BG_BLOCK_UNINIT); should_be = 1; @@ -668,8 +668,8 @@ void check_super_block(e2fsck_t ctx) ext2fs_unmark_valid(fs); } - if (ext2fs_bg_flag_test(fs, i, EXT2_BG_BLOCK_UNINIT) && - !ext2fs_bg_flag_test(fs, i, EXT2_BG_INODE_UNINIT)) { + if (ext2fs_bg_flags_test(fs, i, EXT2_BG_BLOCK_UNINIT) && + !ext2fs_bg_flags_test(fs, i, EXT2_BG_INODE_UNINIT)) { if (fix_problem(ctx, PR_0_BB_UNINIT_IB_INIT, &pctx)) { ext2fs_bg_flags_clear(fs, i, EXT2_BG_BLOCK_UNINIT); should_be = 1; |