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
Theodore Ts'o 2001-01-12 15:30:25 +00:00
parent c8199c4769
commit 7e92dfae9e
3 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -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 - "

View File

@ -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) */