ext4: correct endianness conversion in __xattr_check_inode()
authorEric Biggers <ebiggers@google.com>
Sat, 15 Oct 2016 13:39:31 +0000 (09:39 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 15 Oct 2016 13:39:31 +0000 (09:39 -0400)
commit199625098a18a5522b424dea9b122b254c022fc5
tree1fe5bf2507fc04c391e752a7d808c509d5f99da1
parentfb4454376df9d820d95452d71dd83da6971f9338
ext4: correct endianness conversion in __xattr_check_inode()

It should be cpu_to_le32(), not le32_to_cpu().  No change in behavior.

Found with sparse, and this was the only endianness warning in fs/ext4/.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
fs/ext4/xattr.c