From: Theodore Ts'o Date: Mon, 1 Jan 2001 14:52:52 +0000 (+0000) Subject: ChangeLog, pass1.c: X-Git-Tag: E2FSPROGS-1_20~174 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=f5ae75e5f0e1b509311fac5944167bc0d8674c38;p=tools%2Fe2fsprogs.git ChangeLog, pass1.c: pass1.c (check_blocks): Remove use of EXT2_HAS_*_FEATURE macros. --- diff --git a/e2fsck/ChangeLog b/e2fsck/ChangeLog index aa8266c..700ffa9 100644 --- a/e2fsck/ChangeLog +++ b/e2fsck/ChangeLog @@ -1,3 +1,7 @@ +2001-01-01 + + * pass1.c (check_blocks): Remove use of EXT2_HAS_*_FEATURE macros. + 2000-12-31 * jfs_compat.h: Remove uneeded header file. diff --git a/e2fsck/pass1.c b/e2fsck/pass1.c index 7e9d9e0..df1522a 100644 --- a/e2fsck/pass1.c +++ b/e2fsck/pass1.c @@ -607,8 +607,8 @@ endit: ext2fs_free_mem((void **) &block_buf); if (ctx->large_files) { - if (!EXT2_HAS_RO_COMPAT_FEATURE(sb, - EXT2_FEATURE_RO_COMPAT_LARGE_FILE) && + if (!(sb->s_feature_ro_compat & + EXT2_FEATURE_RO_COMPAT_LARGE_FILE) && fix_problem(ctx, PR_1_FEATURE_LARGE_FILES, &pctx)) { sb->s_feature_ro_compat |= EXT2_FEATURE_RO_COMPAT_LARGE_FILE; @@ -842,8 +842,8 @@ static void check_blocks(e2fsck_t ctx, struct problem_context *pctx, pctx->ino = ino; if (inode->i_flags & EXT2_COMPRBLK_FL) { - if (EXT2_HAS_INCOMPAT_FEATURE(fs->super, - EXT2_FEATURE_INCOMPAT_COMPRESSION)) + if (fs->super->s_feature_incompat & + EXT2_FEATURE_INCOMPAT_COMPRESSION) pb.compressed = 1; else { if (fix_problem(ctx, PR_1_COMPR_SET, pctx)) {