]> git.baikalelectronics.ru Git - kernel.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)
commit8092bb37bcba24f46a9019714260aaa8681fabdc
treed87ca4a752a0e1f8717c1b5ead89e30395814410
parent5caf9c5a7c31acef125dd1c408fbd5ef20c091cd
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: 05459d9c45ae ("ubifs: Limit number of xattrs per inode")
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/xattr.c