On Mon, Feb 26, 2024 at 06:32:51PM -0800, Darrick J. Wong wrote: > From: Darrick J. Wong <djwong@xxxxxxxxxx> > > If a symbolic link target looks bad, try to sift through the rubble to > find as much of the target buffer that we can, and stage a new target > (short or remote format as needed) in a temporary file and use the > atomic extent swapping mechanism to commit the results. So this basically injects new link paths, which looks really dangerous to me, as it creates odd attack vectors. I'd much prefer to not "repair" the path, but mark the link bad so that any access but unlike returns -EIO.