summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_refcount_item.c
diff options
context:
space:
mode:
authorDarrick J. Wong2018-03-23 18:06:56 +0100
committerDarrick J. Wong2018-03-24 02:05:08 +0100
commit5927268f5a04c3b25683e52a0017aa5a9e8eee70 (patch)
treefb59f975e5b95f2b540d4f99de531c4c0a2832e5 /fs/xfs/xfs_refcount_item.c
parentxfs: don't accept inode buffers with suspicious unlinked chains (diff)
downloadkernel-qcow2-linux-5927268f5a04c3b25683e52a0017aa5a9e8eee70.tar.gz
kernel-qcow2-linux-5927268f5a04c3b25683e52a0017aa5a9e8eee70.tar.xz
kernel-qcow2-linux-5927268f5a04c3b25683e52a0017aa5a9e8eee70.zip
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>
Diffstat (limited to 'fs/xfs/xfs_refcount_item.c')
0 files changed, 0 insertions, 0 deletions