+2004-10-04 Richard Mortimer <richm@oldelvet.org.uk>
+
+ * journal.c (e2fsck_check_ext3_journal): Attempt recovery of the
+ filesystem if the journal contains illegal block numbers.
+
2004-07-26 Theodore Ts'o <tytso@mit.edu>
* pass1.c (process_block): Change the limit of directory size from
retval = e2fsck_get_journal(ctx, &journal);
if (retval) {
if ((retval == EXT2_ET_BAD_INODE_NUM) ||
+ (retval == EXT2_ET_BAD_BLOCK_NUM) ||
(retval == EXT2_ET_JOURNAL_TOO_SMALL) ||
(retval == EXT2_ET_NO_JOURNAL))
return e2fsck_journal_fix_bad_inode(ctx, &pctx);
+2004-10-04 Richard Mortimer <richm@oldelvet.org.uk>
+
+ * f_badjourblks: Add test case which tests a Journal with illegal
+ block numbers in both the journal inode and the superblock
+ inode backup.
+
2004-09-17 Theodore Ts'o <tytso@mit.edu>
* test_script.in: Remove XSI:isms for greater portability.
--- /dev/null
+Superblock has a bad ext3 journal (inode 8).
+Clear? yes
+
+*** ext3 journal has been deleted - filesystem is now ext2 only ***
+
+Pass 1: Checking inodes, blocks, and sizes
+Journal inode is not in use, but contains data. Clear? yes
+
+Pass 2: Checking directory structure
+Pass 3: Checking directory connectivity
+Pass 4: Checking reference counts
+Pass 5: Checking group summary information
+Block bitmap differences: -(50--1079)
+Fix? yes
+
+Free blocks count wrong for group #0 (7112, counted=8142).
+Fix? yes
+
+Free blocks count wrong (7112, counted=8142).
+Fix? yes
+
+
+test_filesys: ***** FILE SYSTEM WAS MODIFIED *****
+test_filesys: 11/256 files (0.0% non-contiguous), 50/8192 blocks
+Exit status is 1
--- /dev/null
+Pass 1: Checking inodes, blocks, and sizes
+Pass 2: Checking directory structure
+Pass 3: Checking directory connectivity
+Pass 4: Checking reference counts
+Pass 5: Checking group summary information
+test_filesys: 11/256 files (0.0% non-contiguous), 50/8192 blocks
+Exit status is 0
--- /dev/null
+Illegal blocks in journal inode (and backup in superblock)