diff options
Diffstat (limited to 'e2fsck')
-rw-r--r-- | e2fsck/pass2.c | 2 | ||||
-rw-r--r-- | e2fsck/pass5.c | 8 | ||||
-rw-r--r-- | e2fsck/super.c | 10 |
3 files changed, 10 insertions, 10 deletions
diff --git a/e2fsck/pass2.c b/e2fsck/pass2.c index d45ff744..cbf1457a 100644 --- a/e2fsck/pass2.c +++ b/e2fsck/pass2.c @@ -987,7 +987,7 @@ out_htree: * we could call a function in pass1.c that checks the * newly visible inodes. */ - if (ext2fs_bg_flag_test(fs, group, EXT2_BG_INODE_UNINIT)) { + if (ext2fs_bg_flags_test(fs, group, EXT2_BG_INODE_UNINIT)) { pctx.num = dirent->inode; if (fix_problem(ctx, PR_2_INOREF_BG_INO_UNINIT, &cd->pctx)){ diff --git a/e2fsck/pass5.c b/e2fsck/pass5.c index aee4e5fa..ef8e1412 100644 --- a/e2fsck/pass5.c +++ b/e2fsck/pass5.c @@ -162,7 +162,7 @@ redo_counts: save_problem = 0; pctx.blk = pctx.blk2 = NO_BLK; if (csum_flag && - (ext2fs_bg_flag_test(fs, group, EXT2_BG_BLOCK_UNINIT))) + (ext2fs_bg_flags_test(fs, group, EXT2_BG_BLOCK_UNINIT))) skip_group++; for (i = fs->super->s_first_data_block; i < ext2fs_blocks_count(fs->super); @@ -300,7 +300,7 @@ redo_counts: goto errout; if (csum_flag && (i != ext2fs_blocks_count(fs->super)-1) && - ext2fs_bg_flag_test(fs, group, + ext2fs_bg_flags_test(fs, group, EXT2_BG_BLOCK_UNINIT)) skip_group++; } @@ -423,7 +423,7 @@ redo_counts: save_problem = 0; pctx.ino = pctx.ino2 = 0; if (csum_flag && - (ext2fs_bg_flag_test(fs, group, EXT2_BG_INODE_UNINIT))) + (ext2fs_bg_flags_test(fs, group, EXT2_BG_INODE_UNINIT))) skip_group++; /* Protect loop from wrap-around if inodes_count is maxed */ @@ -526,7 +526,7 @@ do_counts: goto errout; if (csum_flag && (i != fs->super->s_inodes_count) && - (ext2fs_bg_flag_test(fs, group, EXT2_BG_INODE_UNINIT) + (ext2fs_bg_flags_test(fs, group, EXT2_BG_INODE_UNINIT) )) skip_group++; } 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; |