summaryrefslogtreecommitdiff
tag namescrub-parent-fixes-6.4_2023-04-11 (10c925d01dab673a8d7b76919cf89f7ef708b900)
tag date2023-04-11 19:55:33 -0700
tagged byDarrick J. Wong <djwong@kernel.org>
tagged objectcommit 0916056eba...
xfs: fix bugs in parent pointer checking [v24.5]
Jan Kara pointed out that the VFS doesn't take i_rwsem of a child subdirectory that is being moved from one parent to another. Upon deeper analysis, I realized that this was the source of a very hard to trigger false corruption report in the parent pointer checking code. Now that we've refactored how directory walks work in scrub, we can also get rid of all the unnecessary and broken locking to make parent pointer scrubbing work properly. Signed-off-by: Darrick J. Wong <djwong@kernel.org> -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQQ2qTKExjcn+O1o2YRKO3ySh0YRpgUCZDYdpQAKCRBKO3ySh0YR pjmQAQCdja90s/PyueXkpXsBEmd98CI+Mvsq6yhUpYr/EMoNBwEA0sAc8cHz8buy pdUCZJCzXlbgHO+ZC79iBmhnHNFBIw0= =D5Z1 -----END PGP SIGNATURE-----