Whamcloud - gitweb
e2fsck: endianness fixes for fast commit replay
authorHarshad Shirwadkar <harshadshirwadkar@gmail.com>
Thu, 4 Feb 2021 23:36:01 +0000 (15:36 -0800)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 9 Feb 2021 04:36:48 +0000 (23:36 -0500)
commit4e95b372306167c51a5fc8d141eac3e1bcc75140
tree2f17bbb25f2bfac1b238f9dc7f1130cb5b65412e
parent2fae964a0e3d68498a5accfd2fd0780352415660
e2fsck: endianness fixes for fast commit replay

There are a few places where the endianness conversion wasn't done
right. This patch fixes that. Verified that after this patch,
j_recover_fast_commit passes on big endian qemu VM.

root@debian-powerpc:~/e2fsprogs/tests# make j_recover_fast_commit
j_recover_fast_commit: : ok

Signed-off-by: Harshad Shirwadkar <harshadshirwadkar@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/journal.c