~vcs-imports/e2fsprogs/trunk

Viewing all changes in revision 3711.

  • Committer: Theodore Ts'o
  • Author(s): Darrick J. Wong
  • Date: 2014-08-25 02:00:56 UTC
  • Revision ID: git-v1:18b234b121be5c0bbe6865048acaadcac208b7fd
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>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: