Whamcloud - gitweb
e2fsck: improve error messages when the journal sb is corrupt
authorTheodore Ts'o <tytso@mit.edu>
Wed, 25 May 2016 03:11:32 +0000 (23:11 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 25 May 2016 04:31:13 +0000 (00:31 -0400)
commitc59935dc92111cdc426f9d66dc017da92c4643b3
treeb247f6f67e150c301888da15fdf6b606d60553d9
parentd04897df101c307f2e11e3b86a2445f2d269f97c
e2fsck: improve error messages when the journal sb is corrupt

If the journal superblock is corrupt and the user declines to fix it
(or runs e2fsck -n), make sure the error messages are clear and
explain that e2fsck cannot (safely) proceed.

Addresses-Debian-Bug: #768162

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
(cherry picked from commit d37026ea07a6abcb0bbff8d97e58b47e8089df8e)
debugfs/journal.c
e2fsck/journal.c
e2fsck/unix.c
lib/ext2fs/ext2_err.et.in