diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2018-03-23 10:06:56 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-03-23 18:05:08 -0700 |
commit | 5927268f5a04c3b25683e52a0017aa5a9e8eee70 (patch) | |
tree | fb59f975e5b95f2b540d4f99de531c4c0a2832e5 /kernel | |
parent | 6a96c5650568a2218712d43ec16f3f82296a6c53 (diff) |
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 'kernel')
0 files changed, 0 insertions, 0 deletions