Commit [18b234]  Maximize  Restore  History

libext2fs: byteswap inode when performing the sanity scan

On BE platforms, we need to swap the inode bytes after doing the
checksum verification but before looking at i_blocks.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>

Darrick J. Wong Darrick J. Wong 2014-08-25

Theodore Ts'o Theodore Ts'o 2014-08-25

changed lib
changed lib/ext2fs
changed lib/ext2fs/inode.c
lib
Directory.
lib/ext2fs
Directory.
lib/ext2fs/inode.c Diff Switch to side-by-side view
Loading...