]> git.ipfire.org Git - thirdparty/grub.git/commit
xfs: Convert inode numbers to cpu endianity immediately after reading
authorJan Kara <jack@suse.cz>
Mon, 14 Jul 2014 15:21:30 +0000 (17:21 +0200)
committerAndrei Borzenkov <arvidjaar@gmail.com>
Tue, 12 May 2015 05:21:10 +0000 (08:21 +0300)
commita139188eb559ee23f51540948ec84ef5948fb2d1
tree985cdc1686edf683f6ab6f379e7d46ac281a2751
parent1570140f0362d9936f97a014a9fa5cecbca54f07
xfs: Convert inode numbers to cpu endianity immediately after reading

Currently XFS driver converted inode numbers to native endianity only
when using them to compute inode position. Although this works, it is
somewhat confusing. So convert inode numbers when reading them from disk
structures as every other field.

Signed-off-by: Jan Kara <jack@suse.cz>
grub-core/fs/xfs.c