commit | 62e3e7fe4f32c2186e848f37b7f977835975413e | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sun Oct 07 02:13:30 2001 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Oct 07 02:13:30 2001 -0400 |
tree | f8a89e8f421f08b0277cfb2286e1ed1bbd59c832 | |
parent | 773fd8a1d4202af708a37bdc7754134e6fdcfe22 [diff] |
journal.c (clear_v2_journal_fields, e2fsck_journal_load): If the V2 fields are set on a V1 journal superblock, or an internal V2 journal has s_nr_users is non-zero, clear the entire journal superblock beyond the V1 superblock. This fixes botched V1->V2 updates. problem.c, problem.h (PR_0_CLEAR_V2_JOURNAL): Add new problem code. f_bad_local_jnl: New test which tests for a V2 journal with bad fields caused by a botched V1->V2 upgrade.