ext4: fix an endianness bug in ext4_encrypted_follow_link()
authorAl Viro <viro@ZenIV.linux.org.uk>
Thu, 26 Nov 2015 20:20:50 +0000 (15:20 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 26 Nov 2015 20:20:50 +0000 (15:20 -0500)
commit5a1c7f47da9b32d0671e776b0f388095b7f91e2e
treeb3d5975bdf2cc696f003b7791023e0a2d8758278
parente2c9e0b28e146c9a3bce21408f3c02e24ac7ac31
ext4: fix an endianness bug in ext4_encrypted_follow_link()

applying le32_to_cpu() to 16bit value is a bad idea...

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/symlink.c