diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2018-01-08 10:51:04 -0800 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-01-08 10:54:46 -0800 |
commit | 50aa90ef03007beca2c9108993f5b4f2bb4f0a66 (patch) | |
tree | fdf2091a028ec23c36b2e8f5c74393199e637448 /fs/xfs/libxfs/xfs_inode_fork.c | |
parent | bc1a09b8e334bf5fca1d6727aec538dcff957961 (diff) |
xfs: verify dinode header first
Move the v3 inode integrity information (crc, owner, metauuid) before we
look at anything else in the inode so that we don't waste time on a torn
write or a totally garbled block. This makes xfs_dinode_verify more
consistent with the other verifiers.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_inode_fork.c')
0 files changed, 0 insertions, 0 deletions