ext4: return EFSBADCRC if a bad checksum error is found in ext4_find_entry()
authorTheodore Ts'o <tytso@mit.edu>
Fri, 23 Jun 2017 04:47:05 +0000 (00:47 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 23 Jun 2017 04:47:05 +0000 (00:47 -0400)
commitbdddf342796765a1a946e7c4aed2574f4488e4e5
tree0ca09f4c7bde183969ea9a5ff7ff09a15c3f8a57
parent6febe6f253a5bb5c7ac2080d688bd4b75e019d4d
ext4: return EFSBADCRC if a bad checksum error is found in ext4_find_entry()

Previously a bad directory block with a bad checksum is skipped; we
should be returning EFSBADCRC (aka EBADMSG).

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/namei.c