Whamcloud - gitweb
ChangeLog, jfs_compat.h, journal.c, pass3.c:
[tools/e2fsprogs.git] / e2fsck / ChangeLog
index a3e2d70..de93ab1 100644 (file)
@@ -1,3 +1,88 @@
+2000-08-22    <tytso@valinux.com>
+
+       * super.c (release_orphan_inodes): Fix typo; should do bounds
+               checking on next_ino instead of ino.
+
+       * jfs_compat.h (J_ASSERT): 
+       * journal.c (e2fsck_run_ext3_journal): 
+       * pass3.c (adjust_inode_count): Use fatal_error() instead of exit().
+
+       * unix.c: Use fatal_error() instead of exit() whenever possible.
+               Also fix the fsck exit codes so that we use FSCK_USAGE
+               when it is appropriate.  Rename global_signal_ctx to
+               e2fsck_global_ctx and let it be exported globally.
+
+       * util.c (fatal_error): Try to flush the I/O manager before
+               forcing an exit.
+
+2000-08-20    <tytso@valinux.com>
+
+       * journal.c (e2fsck_journal_load): Fix **nasty** bug which caused
+               e2fsck_check_ext3_journal to smash the journal because
+               journal->j_transaction_sequence wasn't getting
+               initialized.
+
+       * journal.c: (recover_ext3_journal, e2fsck_run_ext3_journal): Move
+               call to e2fsck_clear_recover from recover_ext3_journal to
+               after the filesystem has been closed and reopened.
+               Otherwise, the superblock in the filesystem handle will
+               probably be stale, and will overwrite the newer version of
+               the superblock written by the log recovery.
+
+       * message.c (expand_inode_expression): Add support for %Iu and %Ig
+
+       * problem.h (PR_0_CLEAR_ORPHAN_INODE): Add new problem code.
+
+       * super.c (release_orphan_inodes, release_inode_block,
+               release_inode_blocks): Update the block group descriptor
+               counts when freeing the orphan inode.  Use
+               PR_0_CLEAR_ORPHAN_INODE to report when we clear an orphan.
+
+       * journal.c (e2fsck_run_ext3_journal): Fix a bug where we
+               attempted to reopen the filesystem using the device name
+               instead of the filesystem name.
+
+2000-08-18    <tytso@valinux.com>
+
+       * Makefile.in: Update the make dependencies
+       
+       * problem.c, problem.h: Add the problem codes: 
+               PR_0_ORPHAN_ILLEGAL_BLOCK_NUM, 
+               PR_0_ORPHAN_ALREADY_CLEARED_BLOCK, 
+               PR_0_ORPHAN_ILLEGAL_HEAD_INODE, 
+               PR_0_ORPHAN_ILLEGAL_INODE, PR_0_ORPHAN_INODE_INUSE
+
+       * super.c (release_inode_blocks, release_orphan_inodes,
+               check_super_block): Add support for clearing orphaned
+               inodes from the unmounted filesystem.
+
+       * journal.c (e2fsck_recover_ext3_journal): Remove the last orphan
+               check; this is now handled in check_super_block ---
+               non-journaled filesystems can use the orphan list in the
+               future.  Also, move the the re-opening of the filesystem
+               to e2fsck_run_ext3_journal().
+
+2000-07-12  Andreas Dilger <adilger@turbolinux.com>
+
+       * journal.c: implement loading of ext3 journal for recovery code
+
+       * problem.c (fix_problem): return answer from PR_AFTER_CODE to caller.
+               Add journal problems.
+
+       * recovery.c (journal_recover): user-space ext3 journal recovery code
+
+       * unix.c (main) : check journal and do recovery in separate steps
+
+2000-08-07    <tytso@snap.thunk.org>
+
+       * unix.c (calc_percent): Make sure that we don't take a floating
+               exception if the max value is zero.  (should normally
+               never happen, but...)
+
+2000-07-13    <tytso@valinux.com>
+
+       * Release of E2fsprogs 1.19
+
 2000-07-06  Theodore Ts'o  <tytso@valinux.com>
 
        * unix.c (check_if_skip): Modify algorithm for checking