]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
e2fsck: report ext2fs_open2() and ext2fs_check_desc() errors
authorTheodore Ts'o <tytso@mit.edu>
Thu, 22 Mar 2012 03:40:24 +0000 (23:40 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 22 Mar 2012 03:40:24 +0000 (23:40 -0400)
commit010c49cf499738c7a06de13077f31f2a12ecadeb
tree29bacbd072627bebcb93fe6218cfb4223683cfc2
parent349b8a37c5077086f1cd57c6b1b13ec275af6a43
e2fsck: report ext2fs_open2() and ext2fs_check_desc() errors

Print the actual errors returned by ext2fs_open2() and
ext2fs_check_desc() before we fall back to the backup block group
descriptors so that it's easier to see if there is some obscure
failure that is causing e2fsck to think that it should use the backup
block group descriptors.

Addresses-Google-Bug: #6208183

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
15 files changed:
e2fsck/problem.c
e2fsck/problem.h
e2fsck/unix.c
tests/f_crashdisk/expect.1
tests/f_illbbitmap/expect.1
tests/f_illibitmap/expect.1
tests/f_illitable/expect.1
tests/f_illitable_flexbg/expect.1
tests/f_miss_blk_bmap/expect.1
tests/f_misstable/expect.1
tests/f_overfsblks/expect.1
tests/f_resize_inode/expect
tests/f_zero_group/expect.1
tests/f_zero_inode_size/expect.1
tests/f_zero_super/expect.1