ext4: call out CRC and corruption errors with specific error codes
authorDarrick J. Wong <darrick.wong@oracle.com>
Sat, 17 Oct 2015 20:16:04 +0000 (16:16 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 17 Oct 2015 20:16:04 +0000 (16:16 -0400)
commit6a797d2737838906f2ea0a31686e87c3151e21ca
treec13f506c771271660fb76d3e0ba86a9e107f0ed9
parent8c81bd8f586c46eaf114758a78d82895a2b081c2
ext4: call out CRC and corruption errors with specific error codes

Instead of overloading EIO for CRC errors and corrupt structures,
return the same error codes that XFS returns for the same issues.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
16 files changed:
fs/ext4/balloc.c
fs/ext4/block_validity.c
fs/ext4/dir.c
fs/ext4/ext4.h
fs/ext4/extents.c
fs/ext4/ialloc.c
fs/ext4/indirect.c
fs/ext4/inode.c
fs/ext4/mmp.c
fs/ext4/namei.c
fs/ext4/super.c
fs/ext4/symlink.c
fs/ext4/xattr.c
fs/jbd2/journal.c
fs/jbd2/recovery.c
include/linux/jbd2.h