commit | fa96454069b85a7e5d10f38b7d95edcd5dc64b9a | [log] [tgz] |
---|---|---|
author | Daeho Jeong <daeho.jeong@samsung.com> | Sun Jul 03 21:11:08 2016 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Jul 03 21:11:08 2016 -0400 |
tree | c3e810170e7e389b0bdd6583d0a7b2c01352d04f | |
parent | b47820edd1634dc1208f9212b7ecfb4230610a23 [diff] |
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 <daeho.jeong@samsung.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>