]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - e2fsck/problem.c
Add support for backing up the journal inode location in the
authorTheodore Ts'o <tytso@mit.edu>
Thu, 21 Aug 2003 04:40:26 +0000 (00:40 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 21 Aug 2003 04:40:26 +0000 (00:40 -0400)
commita435ec3449694a8fa299337197cc09624960a3a6
tree7d565553f487c89d7a99e1d8af51605a452afd01
parent51bc0845170307bc4617f18761d8c670931f7606
Add support for backing up the journal inode location in the
superblock.  E2fsck will automatically save the journal information
in the superblock if it is not there already, and will use it if the
journal inode appears to be corrupted.  ext2fs_add_journal_inode()
will also save the backup information, so that new filesystems
created by mke2fs and filesystems that have journals added via
tune2fs will also have journal location written to the superblock as
well.  Debugfs's logdump command has been enhanced so that it can
use the journal information in the superblock.

The debugfs man page has been improved to more fully describe the
logdump command.

Added two new functions, ext2fs_file_open2() and
ext2fs_inode_io_intern2() which take a pointer to an inode structure;
this is needed so that e2fsck and debugfs can synthesize a
fake journal inode and use it to access the journal.
24 files changed:
debugfs/ChangeLog
debugfs/debugfs.8.in
debugfs/logdump.c
e2fsck/ChangeLog
e2fsck/journal.c
e2fsck/problem.c
e2fsck/problem.h
lib/e2p/ChangeLog
lib/e2p/ls.c
lib/ext2fs/ChangeLog
lib/ext2fs/ext2_fs.h
lib/ext2fs/ext2fs.h
lib/ext2fs/fileio.c
lib/ext2fs/inode_io.c
lib/ext2fs/mkjournal.c
tests/ChangeLog
tests/f_bad_local_jnl/expect.1
tests/f_badorphan/expect.1
tests/f_h_badroot/expect.1
tests/f_h_reindex/expect.1
tests/f_journal/expect.1
tests/f_journal/image.gz
tests/f_journal/name
tests/f_special_ea/expect.1