]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - lib/ext2fs/swapfs.c
ext2fs: add byte swapping of new superblock fields for BE machines
authorGabriel Krisman Bertazi <krisman@collabora.com>
Wed, 21 Nov 2018 00:11:27 +0000 (19:11 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 21 Nov 2018 23:19:35 +0000 (18:19 -0500)
commit80c1d01a99a340c4f7bafa9e86971e6633704744
tree4e8f612fc7a94c8a8f161c4cf60221087b778448
parent44a1d8b97836638977a197095eb738a40ac679e4
ext2fs: add byte swapping of new superblock fields for BE machines

New superblock fields must be byte swapped before being accessed in Big
Endian machines.

Not tested on an actual BE machine.

Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/swapfs.c