]> git.ipfire.org Git - thirdparty/linux.git/commit
ubifs: Convert xattr inum to host order
authorRichard Weinberger <richard@nod.at>
Tue, 14 May 2019 19:10:50 +0000 (21:10 +0200)
committerRichard Weinberger <richard@nod.at>
Wed, 15 May 2019 19:56:48 +0000 (21:56 +0200)
commit4dd0481584d09221849ac8a3af4cd3cefd58c11e
treed87ca4a752a0e1f8717c1b5ead89e30395814410
parent76aa349441729d889ba6f1d58e3369d178250ffd
ubifs: Convert xattr inum to host order

UBIFS stores inode numbers as LE64 integers.
We have to convert them to host oder, otherwise
BE hosts won't be able to use the integer correctly.

Reported-by: kbuild test robot <lkp@intel.com>
Fixes: 9ca2d7326444 ("ubifs: Limit number of xattrs per inode")
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/xattr.c