Skip to content
Commit a20d1ceb authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

jbd2: fix portability problems caused by unaligned accesses



This commit applies the e2fsck/recovery.c portions of commit
1e0c8ca7c08a ("e2fsck: fix portability problems caused by unaligned
accesses) from the e2fsprogs git tree.

The on-disk format for the ext4 journal can have unaigned 32-bit
integers.  This can happen when replaying a journal using a obsolete
checksum format (which was never popularly used, since the v3 format
replaced v2 while the metadata checksum feature was being stablized).

Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent 877ba3f7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment