commit | 50aa90ef03007beca2c9108993f5b4f2bb4f0a66 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Mon Jan 08 10:51:04 2018 -0800 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Mon Jan 08 10:54:46 2018 -0800 |
tree | fdf2091a028ec23c36b2e8f5c74393199e637448 | |
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>