]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - e2fsck/unix.c
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 03:11:32 +0000 (23:11 -0400)
commitd37026ea07a6abcb0bbff8d97e58b47e8089df8e
tree77d9e4ec0c1ea85d41dde07eaf87ae929b9970f3
parentbf26fae372a6124d171d377302c60ab420d711d5
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>
debugfs/journal.c
e2fsck/journal.c
e2fsck/unix.c
lib/ext2fs/ext2_err.et.in