diff options
author | Theodore Ts'o <tytso@mit.edu> | 1998-03-24 16:22:38 +0000 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 1998-03-24 16:22:38 +0000 |
commit | 246501c612cb8309dc81b354b785405bbeef05ce (patch) | |
tree | b7f34e5dcc3df988979261b6a6cb79390df0f7da /tests | |
parent | 36a43d675ef61d0f5d5b2ad62d2e670c408d14ac (diff) | |
download | e2fsprogs-246501c612cb8309dc81b354b785405bbeef05ce.tar.gz |
Many files:
unix.c: Fix bug in check of feature set, to make sure we can really
fix this filesystem.
problem.h: Make blkcount type to be of type blkcnt_t. Make the num
field be a 64 bit type. Add the problem code PR_1_FEATURE_LARGE_FILES
problem.c: Add table entry for the problem code PR_1_FEATURE_LARGE_FILES.
pass1.c (e2fsck_pass1): A non-zero i_dir_acl field is only a problem
for directory inodes. (Since it is also i_size_high now.) If there
are no large_files, then clear the LARGE_FLAG feature flag. If there
are large_files, but the LARGE_FLAG feature flag is not set, complain
and offer to fix it.
(check_blocks): Add support to deal with non-directory inodes that
have i_size_high set (i.e., large_files). Don't give an error if a
directory has preallocated blocks, to support the DIR_PREALLOC
feature.
(process_block, process_bad_block): The blockcnt variable is a type of
blkcnt_t, for conversion to the new block_iterate2.
pass2.c (process_bad_inode): A non-zero i_dir_acl field is only a
problem for directory inodes. (Since it is also i_size_high now.)
message.c (expand_inode_expression): Print a 64-bits of the inode size
for non-directory inodes. (Directory inodes can only use a 32-bit
directory acl size, since i_size_high is shared with i_dir_acl.) Add
sanity check so that trying to print out the directory acl on a
non-directory inode will print zero. (expand_percent_expression): %B
and %N, which print pctx->blkcount and pctx->num, can now be 64 bit
variables. Print them using the "%lld" format if EXT2_NO_64_TYPE is
not defined.
e2fsck.h: Add the large_flagsfield to the e2fsck context.
e2fsck.c (e2fsck_reset_context): Clear the large_flags field.
ChangeLog, expect.1:
f_messy_inode: Modify test to deal with changes to support 64-bit size
files. (/MAKEDEV had i_dir_acl, now i_size_high, set.)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ChangeLog | 6 | ||||
-rw-r--r-- | tests/f_messy_inode/expect.1 | 5 |
2 files changed, 8 insertions, 3 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog index 1024e61a..39502fc4 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,9 @@ +1998-03-23 Theodore Ts'o <tytso@rsts-11.mit.edu> + + * f_messy_inode: Modify test to deal with changes to support + 64-bit size files. (/MAKEDEV had i_dir_acl, now + i_size_high, set.) + Sat Oct 25 18:38:56 1997 Theodore Ts'o <tytso@rsts-11.mit.edu> * Add scripts to skip the e_brel_bma and e_irel_ima tests (since diff --git a/tests/f_messy_inode/expect.1 b/tests/f_messy_inode/expect.1 index ae5f52ac..cc3efe56 100644 --- a/tests/f_messy_inode/expect.1 +++ b/tests/f_messy_inode/expect.1 @@ -12,15 +12,14 @@ Illegal block #7 (4294901760) in inode 14. CLEARED. Illegal block #8 (4294901760) in inode 14. CLEARED. Illegal block #9 (4294901760) in inode 14. CLEARED. Illegal block #10 (4294901760) in inode 14. CLEARED. +Inode 14, i_size is 18446462598732849291, should be 2048. Fix? yes + Inode 14, i_blocks is 18, should be 4. Fix? yes Pass 2: Checking directory structure i_file_acl for inode 14 (/MAKEDEV) is 4294901760, should be zero. Clear? yes -i_dir_acl for inode 14 (/MAKEDEV) is 4294901760, should be zero. -Clear? yes - Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information |