ext4: fix an endianness bug in ext4_encrypted_zeroout()
authorAl Viro <viro@ZenIV.linux.org.uk>
Thu, 26 Nov 2015 20:20:19 +0000 (15:20 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 26 Nov 2015 20:20:19 +0000 (15:20 -0500)
commite2c9e0b28e146c9a3bce21408f3c02e24ac7ac31
treee820324ac62207ecfcd62a43969c3803881cdd05
parentbc23f0c8d7ccd8d924c4e70ce311288cb3e61ea8
ext4: fix an endianness bug in ext4_encrypted_zeroout()

ex->ee_block is not host-endian (note that accesses of other fields
of *ex right next to that line go through the helpers that do proper
conversion from little-endian to host-endian; it might make sense
to add similar for ->ee_block to avoid reintroducing that kind of
bugs...)

Cc: stable@vger.kernel.org # v4.1+
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/crypto.c
This page took 0.037436 seconds and 5 git commands to generate.