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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Feb 2016 22:28:35 +0000 (14:28 -0800)
commitb5508f03599af61c1511cc09419b282cbc9a1a52
treeb457081f28e191318c131ad2716fe7c286f51763
parent8a744287bd6b9cccd25423112ea7322bb47c4c01
ext4: fix an endianness bug in ext4_encrypted_follow_link()

commit 5a1c7f47da9b32d0671e776b0f388095b7f91e2e upstream.

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

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ext4/symlink.c