commit | 56830d6cc114f76f656d5e65ab355b070d5a695e | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Wed Aug 01 07:40:48 2018 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Wed Aug 01 07:42:43 2018 -0700 |
tree | f42379c8e711f80b3da29580490592c82a7c841d | |
parent | 611995db2ce210d20d51c5270639b750476534e5 [diff] |
xfs: check da node magic in _node_lookup_int Before we start processing what we /think/ is a da3 node block, actually check the magic to make sure that we're looking at a node block. This way we won't blow the asserts in _node_hdr_from_disk on corrupted metadata. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>