]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: check dirents have parent pointers
authorDarrick J. Wong <djwong@kernel.org>
Mon, 29 Jul 2024 23:22:50 +0000 (16:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:01:03 +0000 (17:01 -0700)
commit055af989dece4d8c70759477c28d42d11cc61d1d
tree1fee42a1217be55e086523411f739e84bd9a7fb7
parent5398a67b1a5c1100be6c43de4939576abca27ef4
xfs: check dirents have parent pointers

Source kernel commit: 61b3f0df5c235806d372aaf696ce9aee7746d18f

If the fs has parent pointers, we need to check that each child dirent
points to a file that has a parent pointer pointing back at us.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
libxfs/xfs_parent.c
libxfs/xfs_parent.h