aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/exec/recursion-depth.c
diff options
context:
space:
mode:
authorBharath Vedartham <[email protected]>2019-05-14 22:44:29 +0000
committerLinus Torvalds <[email protected]>2019-05-15 02:52:50 +0000
commit672cdd56f0ae95069e399db790dbf2e303ac72b7 (patch)
treed68d174568a9992051a49a9886e4cca991050a73 /tools/testing/selftests/exec/recursion-depth.c
parentautofs: add description of ignore pseudo mount option (diff)
downloadkernel-672cdd56f0ae95069e399db790dbf2e303ac72b7.tar.gz
kernel-672cdd56f0ae95069e399db790dbf2e303ac72b7.zip
reiserfs: add comment to explain endianness issue in xattr_hash
csum_partial() gives different results for little-endian and big-endian hosts. This causes images created on little-endian hosts and mounted on big endian hosts to see csum mismatches. This causes an endianness bug. Sparse gives a warning as csum_partial returns a restricted integer type __wsum_t and xattr_hash expects __u32. This warning acts as a reminder for this bug and should not be suppressed. This comment aims to convey these endianness issues. [[email protected]: coding-style fixes] Link: http://lkml.kernel.org/r/20190423161831.GA15387@bharath12345-Inspiron-5559 Signed-off-by: Bharath Vedartham <[email protected]> Cc: Al Viro <[email protected]> Cc: Jann Horn <[email protected]> Cc: Jeff Mahoney <[email protected]> Cc: Jan Kara <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/testing/selftests/exec/recursion-depth.c')
0 files changed, 0 insertions, 0 deletions