| commit | 4d0ba896fee55286912f41d256c64108f020246c | [log] [tgz] |
|---|---|---|
| author | Darrick J. Wong <djwong@kernel.org> | Wed Nov 20 16:19:06 2024 -0800 |
| committer | Darrick J. Wong <djwong@kernel.org> | Sun Nov 24 21:06:05 2024 -0800 |
| tree | 3b270b842118f516bb3517e746930f50ce4c49c8 | |
| parent | ab619b0fc5d053a6b14e24c769212590699d1e7c [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>