]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
pass1.c (check_blocks): Use the EXT2_I_SIZE macro.
authorTheodore Ts'o <tytso@mit.edu>
Wed, 22 Jan 2003 23:28:15 +0000 (18:28 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 22 Jan 2003 23:28:15 +0000 (18:28 -0500)
e2fsck/ChangeLog
e2fsck/pass1.c

index ec072823a3e8f94a2ee584b255039ba93fab4a30..e494be835d7e60182c3501df3bb0c194080222d0 100644 (file)
@@ -1,3 +1,7 @@
+2003-01-22  Theodore Ts'o  <tytso@mit.edu>
+
+       * pass1.c (check_blocks): Use the EXT2_I_SIZE macro.
+
 2003-01-02  Theodore Ts'o  <tytso@mit.edu>
 
        * unix.c (main): Detect if there is an attempt to run the journal
index f7ee1117833d74499b34e320c7a548cf16ccb1c1..a78f08b6c59a945b0e1949bd723f57856638641e 100644 (file)
@@ -1318,7 +1318,7 @@ static void check_blocks(e2fsck_t ctx, struct problem_context *pctx,
                                bad_size = 2;
                }
        } else {
-               size = inode->i_size | ((__u64) inode->i_size_high << 32);
+               size = EXT2_I_SIZE(inode);
                if ((pb.last_block >= 0) &&
                    (size < pb.last_block * fs->blocksize))
                        bad_size = 3;