Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ext4: correct error value of function verifying dx checksum
ext4_dx_csum_verify() returns the success return value in two checksum verification failure cases. We need to set the return values to zero as failure like ext4_dirent_csum_verify() returning zero when failing to find a checksum dirent at the tail. Signed-off-by: Daeho Jeong <[email protected]> Signed-off-by: Theodore Ts'o <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]>
- Loading branch information