xfs: call xfs_dinode_verify from xfs_inode_from_disk
authorChristoph Hellwig <hch@lst.de>
Thu, 14 May 2020 21:01:18 +0000 (14:01 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 19 May 2020 16:40:57 +0000 (09:40 -0700)
commit2d6051d4965308c3367bf5a2468dff969872a96e
treed5e58190bdb086a70ff92e4c156b9fb235671ae1
parent0bce8173fdcf203c92a4d57dc7d3bb642ed478a1
xfs: call xfs_dinode_verify from xfs_inode_from_disk

Keep the code dealing with the dinode together, and also ensure we verify
the dinode in the owner change log recovery case as well.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Documentation/filesystems/xfs-self-describing-metadata.txt
fs/xfs/libxfs/xfs_inode_buf.c