• Darrick J. Wong's avatar
    xfs: online repair of symbolic links · 2651923d
    Darrick J. Wong authored
    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.  In the worst
    case, we replace the target with an overly long filename that cannot
    possibly resolve.
    Signed-off-by: default avatarDarrick J. Wong <djwong@kernel.org>
    Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
    2651923d
symlink.c 2.14 KB