diff options
author | Darrick J. Wong <djwong@kernel.org> | 2023-04-12 05:00:18 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2023-04-12 05:00:18 +0300 |
commit | 6bb9209ceebb07fd07cec25af04eed1809c654de (patch) | |
tree | ba404918e618d7c3ffecee6b808bcb6a6eea20b3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d9a94480f978d5fbf1235a12a476f9f39a029ea5 (diff) | |
download | linux-6bb9209ceebb07fd07cec25af04eed1809c654de.tar.xz |
xfs: always check the existence of a dirent's child inode
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>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions