Darrick J. Wong a07b455762 xfs: scan the filesystem to repair a directory dotdot entry
Teach the online directory repair code to scan the filesystem so that we
can set the dotdot entry when we're rebuilding a directory.  This
involves dropping ILOCK on the directory that we're repairing, which
means that the VFS can sneak in and tell us to update dotdot at any
time.  Deal with these races by using a dirent hook to absorb dotdot
updates, and be careful not to check the scan results until after we've
retaken the ILOCK.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2024-04-15 14:58:56 -07:00
..
2024-04-15 14:58:53 -07:00
2024-02-22 12:43:35 -08:00
2024-04-15 14:58:53 -07:00
2024-03-13 13:52:24 -07:00
2023-12-15 10:03:45 -08:00
2024-02-22 12:40:12 -08:00
2024-01-10 08:45:22 -08:00
2023-12-07 14:51:07 +05:30
2024-02-22 12:43:35 -08:00
2024-02-17 09:32:32 +05:30
2024-04-15 14:58:53 -07:00