diff options
author | Daeho Jeong <daeho.jeong@samsung.com> | 2016-07-04 03:11:08 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2016-07-04 03:11:08 +0200 |
commit | fa96454069b85a7e5d10f38b7d95edcd5dc64b9a (patch) | |
tree | c3e810170e7e389b0bdd6583d0a7b2c01352d04f /scripts/selinux | |
parent | ext4: avoid modifying checksum fields directly during checksum verification (diff) | |
download | linux-fa96454069b85a7e5d10f38b7d95edcd5dc64b9a.tar.xz linux-fa96454069b85a7e5d10f38b7d95edcd5dc64b9a.zip |
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 'scripts/selinux')
0 files changed, 0 insertions, 0 deletions