OSDN Git Service

Recreate journal that had been removed previously due to corruption
authorKalpak Shah <kalpak@clusterfs.com>
Thu, 21 Jun 2007 15:59:06 +0000 (11:59 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 21 Jun 2007 15:59:06 +0000 (11:59 -0400)
commit5107d0d196b9c51cf18380b6996b1074afe51df2
tree1f02cce3c9cefacaaf7d1613a336a24dc6e03607
parent56d1236726d8e4624d2f3a2f4713864c1e66bb40
Recreate journal that had been removed previously due to corruption

If the journal had been removed because it was corrupt, the
E2F_FLAG_JOURNAL_INODE flag will be set.  If this flag is set, then
recreate the filesystem after checking the filesystem.

Signed-off-by: Kalpak Shah <kalpak@clusterfs.com>
Signed-off-by: Andreas Dilger <adilger@clusterfs.com>
e2fsck/journal.c
e2fsck/problem.c
e2fsck/problem.h
e2fsck/unix.c
tests/f_badjourblks/expect.1
tests/f_badjourblks/expect.2
tests/f_miss_journal/expect.1
tests/f_miss_journal/expect.2