summaryrefslogtreecommitdiff
path: root/fs/sysv/itree.c
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2023-04-11 19:00:19 -0700
committerDarrick J. Wong <djwong@kernel.org>2023-04-11 19:00:19 -0700
commitb049962c0f6eb6fb17e8294721f948285a44a672 (patch)
tree621fdc121b65d3c746733d27e466553e8b78734d /fs/sysv/itree.c
parentcbab28f4c0719c956fa7b83613a3591c361126c7 (diff)
downloadlinux-next-b049962c0f6eb6fb17e8294721f948285a44a672.tar.gz
xfs: simplify xchk_parent_validate
This function is unnecessarily long because it contains code to revalidate a dotdot entry after cycling locks to try to confirm a subdirectory parent pointer. Shorten the codebase by making the parent's lookup call do double duty as the revalidation code. This weakeans the efficacy of this scrub function temporarily, but the next patch will resolve this as part of fixing an unhandled race that is the result of the VFS rename locking model not working the way Darrick thought it did. Rename this stupid 'dnum' variable too. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/sysv/itree.c')
0 files changed, 0 insertions, 0 deletions