diff options
| author | 2026-08-26 22:32:12 -0700 | |
|---|---|---|
| committer | 2026-09-07 07:50:35 +0200 | |
| commit | 9dd6cc92a736a7943dd29776b6eb1938c7f9b94c (patch) | |
| tree | 32534db9621d72127be58845fc756e4815180561 /scripts/Makefile.thinlto | |
| parent | xfs: fix parent rec lookup initialization in xrep_metapath_unlink (diff) | |
xfs: handle reconnecting metadir subdirectories
A longstanding weakness of the metapath repair code is that it can only
reattach non-directories to the metadata directory tree. Let's fix
that by allowing reconnection of subdirectories.
Note that with the initial users of metadir (rtgroups and quota),
there's no way to mount a filesystem with broken /rtgroups or /quota
subdirectories, so this code won't be all that useful until something
adds deeper directory trees. But we shouldn't leave a logic bomb for
those futures users wherein we get the link count wrong for a subdir.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
