summaryrefslogtreecommitdiff
path: root/virt/kvm
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2022-07-14 11:05:48 -0700
committerDarrick J. Wong <djwong@kernel.org>2022-10-14 14:16:31 -0700
commit1781cac7a282b267719ecd52bc829c5367d5de6a (patch)
tree175764a7aa188317b0319e542c46534cb38160f4 /virt/kvm
parentd69ffea10225129871014580d5c898296c1ea2c7 (diff)
xfs: always check the existence of a dirent's child inodescrub-dir-iget-fixes_2022-10-14
When we're scrubbing directory entries, we always need to iget the child inode to make sure that the inode pointer points to a valid inode. The original directory scrub code (commit a5c4) only set us up to do this for ftype=1 filesystems, which is not sufficient; and then commit 4b80 made it worse by exempting the dot and dotdot entries. Sorta-fixes: a5c46e5e8912 ("xfs: scrub directory metadata") Sorta-fixes: 4b80ac64450f ("xfs: scrub should mark a directory corrupt if any entries cannot be iget'd") Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions