commit | f9ce1f4934ed2abdbea44a2e8e5885a99b2d9e88 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <djwong@kernel.org> | Sun Nov 03 20:19:02 2024 -0800 |
committer | Darrick J. Wong <djwong@kernel.org> | Mon Nov 18 14:59:37 2024 -0800 |
tree | 87ba775db15b7c487defdbe54e65be3a10160efb | |
parent | da3283992db66e8747c007cec82e2cb7fee066bd [diff] |
xfs: confirm dotdot target before replacing it during a repair xfs_dir_replace trips an assertion if you tell it to change a dirent to point to an inumber that it already points at. Look up the dotdot entry directly to confirm that we need to make a change. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>