commit | a72e9d8d69e7ca848ddd4c4db72d3ab280c1775d | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Tue Mar 19 08:16:22 2019 -0700 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Tue Mar 19 08:16:41 2019 -0700 |
tree | f087519884ca80bdce715aa5475ecab35fd257f4 | |
parent | 228de124f290e6b981b2c61fbd78215e11264044 [diff] |
xfs: fix btree scrub checking with regards to root-in-inode In xchk_btree_check_owner, we can be passed a null buffer pointer. This should only happen for the root of a root-in-inode btree type, but we should program defensively in case the btree cursor state ever gets screwed up and we get a null buffer anyway. Coverity-id: 1438713 Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com>