Re: [PATCH 1/1] xfs: online repair of symbolic links

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 28, 2024 at 10:37:40AM -0800, Darrick J. Wong wrote:
> Going back to [1] from last year, I finally /did/ find a magic symlink
> target that actually does trip EIO.  That solution is to set the buffer
> contents to a string that is so long that it exceeds NAME_MAX.
> Userspace can readlink this string, but it will never resolve anywhere
> in the directory tree.
> 
> What if this unconditionally set the link target to DUMMY_TARGET instead
> of salvaging partial targets?

Sounds good to me.




[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux