diff options
author | Daeho Jeong <daeho.jeong@samsung.com> | 2016-07-03 21:11:08 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2016-07-03 21:11:08 -0400 |
commit | fa96454069b85a7e5d10f38b7d95edcd5dc64b9a (patch) | |
tree | c3e810170e7e389b0bdd6583d0a7b2c01352d04f /fs/ext4/inode.c | |
parent | b47820edd1634dc1208f9212b7ecfb4230610a23 (diff) | |
download | linux-fa96454069b85a7e5d10f38b7d95edcd5dc64b9a.tar.bz2 |
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>
Diffstat (limited to 'fs/ext4/inode.c')
0 files changed, 0 insertions, 0 deletions