Re: [PATCH] reiserfs: Add comment to explain endianness issue in xattr_hash

2019-04-23 Thread Bharath Vedartham
On Tue, Apr 23, 2019 at 09:48:31PM +0530, Bharath Vedartham wrote: > 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 g

[PATCH] reiserfs: Add comment to explain endianness issue in xattr_hash

2019-04-23 Thread Bharath Vedartham
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 a