mirror of https://github.com/vitalif/e2fsprogs
ChangeLog, journal.c, problem.c:
journal.c (e2fsck_journal_fix_bad_inode): Set pctx->ino to the bad journal number. problem.c (PR_0_JOURNAL_BAD_INODE): Use pctx->ino instead of pctx->num when printing the bad journal inode number.bitmap-optimize
parent
c8199c4769
commit
7e92dfae9e
|
@ -1,3 +1,11 @@
|
|||
2001-01-12 Theodore Ts'o <tytso@valinux.com>
|
||||
|
||||
* journal.c (e2fsck_journal_fix_bad_inode): Set pctx->ino to the
|
||||
bad journal number.
|
||||
|
||||
* problem.c (PR_0_JOURNAL_BAD_INODE): Use pctx->ino instead of
|
||||
pctx->num when printing the bad journal inode number.
|
||||
|
||||
2001-01-11 <tytso@snap.thunk.org>
|
||||
|
||||
* pass1.c (process_block): Remove dead code which was never
|
||||
|
|
|
@ -270,6 +270,7 @@ static int e2fsck_journal_fix_bad_inode(e2fsck_t ctx,
|
|||
|
||||
if (has_journal || sb->s_journal_inum) {
|
||||
/* The journal inode is bogus, remove and force full fsck */
|
||||
pctx->ino = sb->s_journal_inum;
|
||||
if (fix_problem(ctx, PR_0_JOURNAL_BAD_INODE, pctx)) {
|
||||
if (has_journal && sb->s_journal_inum)
|
||||
printf("*** ext3 journal has been deleted - "
|
||||
|
|
|
@ -176,7 +176,7 @@ static const struct e2fsck_problem problem_table[] = {
|
|||
|
||||
/* Journal inode is invalid */
|
||||
{ PR_0_JOURNAL_BAD_INODE,
|
||||
N_("@S has a bad ext3 @j (@i %N).\n"),
|
||||
N_("@S has a bad ext3 @j (@i %i).\n"),
|
||||
PROMPT_CLEAR, PR_PREEN_OK },
|
||||
|
||||
/* Superblock has a journal device (which we can't handle yet) */
|
||||
|
|
Loading…
Reference in New Issue