alistair23-linux/fs/xfs/scrub
Darrick J. Wong a72e9d8d69 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>
2019-03-19 08:16:41 -07:00
..
agheader.c xfs: fix backwards endian conversion in scrub 2019-02-25 10:16:42 -08:00
agheader_repair.c xfs: use buf ops magic to detect btree block type 2019-02-11 16:07:01 -08:00
alloc.c xfs: remove xfs_rmap_ag_owner and friends 2018-12-12 08:47:16 -08:00
attr.c xfs: check attribute name validity 2019-02-11 16:06:40 -08:00
bitmap.c xfs: repair the AGFL 2018-08-10 11:44:31 -07:00
bitmap.h xfs: repair the AGFL 2018-08-10 11:44:31 -07:00
bmap.c xfs: scrub should flag dir/attr offsets that aren't mappable with xfs_dablk_t 2019-02-11 16:06:40 -08:00
btree.c xfs: fix btree scrub checking with regards to root-in-inode 2019-03-19 08:16:41 -07:00
btree.h xfs: const-ify xfs_owner_info arguments 2018-12-12 08:47:16 -08:00
common.c xfs: const-ify xfs_owner_info arguments 2018-12-12 08:47:16 -08:00
common.h xfs: const-ify xfs_owner_info arguments 2018-12-12 08:47:16 -08:00
dabtree.c xfs: dabtree scrub needs to range-check level 2019-03-19 08:16:21 -07:00
dabtree.h xfs: fix indentation and other whitespace problems in scrub/repair 2018-07-23 09:08:01 -07:00
dir.c xfs: check directory name validity 2019-02-11 16:06:40 -08:00
ialloc.c xfs: fix uninitialized error variable 2019-02-21 07:55:07 -08:00
inode.c xfs: remove xfs_rmap_ag_owner and friends 2018-12-12 08:47:16 -08:00
parent.c xfs: clean up IRELE/iput callsites 2018-07-26 10:15:16 -07:00
quota.c xfs: fix indentation and other whitespace problems in scrub/repair 2018-07-23 09:08:01 -07:00
refcount.c xfs: remove xfs_rmap_ag_owner and friends 2018-12-12 08:47:16 -08:00
repair.c xfs: use buf ops magic to detect btree block type 2019-02-11 16:07:01 -08:00
repair.h xfs: use buf ops magic to detect btree block type 2019-02-11 16:07:01 -08:00
rmap.c xfs: remove xfs_rmap_ag_owner and friends 2018-12-12 08:47:16 -08:00
rtbitmap.c xfs: fix off-by-one error in rtbitmap cross-reference 2019-02-11 16:06:40 -08:00
scrub.c xfs: remove suport for filesystems without unwritten extent flag 2018-10-18 17:18:58 +11:00
scrub.h xfs: const-ify xfs_owner_info arguments 2018-12-12 08:47:16 -08:00
symlink.c xfs: fix indentation and other whitespace problems in scrub/repair 2018-07-23 09:08:01 -07:00
trace.c xfs: fix indentation and other whitespace problems in scrub/repair 2018-07-23 09:08:01 -07:00
trace.h xfs: clean up the inode cluster checking in the inobt scrub 2019-02-11 16:06:39 -08:00
xfs_scrub.h xfs: convert to SPDX license tags 2018-06-06 14:17:53 -07:00