linux/fs/xfs/scrub
Darrick J. Wong 5927268f5a xfs: flag inode corruption if parent ptr doesn't get us a real inode
If a directory's parent inode pointer doesn't point to an inode, the
directory should be flagged as corrupt.  Enable IGET_UNTRUSTED here so
that _iget will return -EINVAL if the inobt does not confirm that the
inode is present and allocated and we can flag the directory corruption.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
2018-03-23 18:05:08 -07:00
..
agheader.c xfs: convert XFS_AGFL_SIZE to a helper function 2018-03-11 20:27:56 -07:00
alloc.c xfs: cross-reference refcount btree during scrub 2018-01-17 21:00:46 -08:00
attr.c xfs: remove xfs_buf parameter from inode scrub methods 2018-03-23 18:05:08 -07:00
bmap.c xfs: remove xfs_buf parameter from inode scrub methods 2018-03-23 18:05:08 -07:00
btree.c xfs: scrub in-core metadata 2018-01-17 21:00:46 -08:00
btree.h xfs: set up scrub cross-referencing helpers 2018-01-17 21:00:44 -08:00
common.c xfs: remove xfs_buf parameter from inode scrub methods 2018-03-23 18:05:08 -07:00
common.h xfs: remove xfs_buf parameter from inode scrub methods 2018-03-23 18:05:08 -07:00
dabtree.c xfs: scrub in-core metadata 2018-01-17 21:00:46 -08:00
dabtree.h xfs: scrub extended attribute leaf space 2017-11-01 15:03:16 -07:00
dir.c xfs: remove xfs_buf parameter from inode scrub methods 2018-03-23 18:05:08 -07:00
ialloc.c xfs: record inode buf errors as a xref error in inobt scrubber 2018-03-23 18:05:08 -07:00
inode.c xfs: move inode extent size hint validation to libxfs 2018-03-23 18:05:08 -07:00
parent.c xfs: flag inode corruption if parent ptr doesn't get us a real inode 2018-03-23 18:05:08 -07:00
quota.c xfs: remove xfs_buf parameter from inode scrub methods 2018-03-23 18:05:08 -07:00
refcount.c xfs: cross-reference refcount btree during scrub 2018-01-17 21:00:46 -08:00
rmap.c xfs: cross-reference refcount btree during scrub 2018-01-17 21:00:46 -08:00
rtbitmap.c xfs: remove xfs_buf parameter from inode scrub methods 2018-03-23 18:05:08 -07:00
scrub.c xfs: don't iunlock unlocked inodes 2018-01-17 21:00:46 -08:00
scrub.h xfs: cross-reference the realtime bitmap 2018-01-17 21:00:46 -08:00
symlink.c xfs: scrub symbolic links 2017-10-26 15:38:26 -07:00
trace.c fs: xfs: remove duplicate includes 2017-12-08 17:51:05 -08:00
trace.h xfs: remove xfs_buf parameter from inode scrub methods 2018-03-23 18:05:08 -07:00
xfs_scrub.h