diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2026-08-26 22:32:12 -0700 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-09-07 07:50:35 +0200 |
| commit | 9dd6cc92a736a7943dd29776b6eb1938c7f9b94c (patch) | |
| tree | 32534db9621d72127be58845fc756e4815180561 /scripts/patch-kernel | |
| parent | cdc4a083adf7bf15a0722c5bd292a35e00112006 (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/patch-kernel')
0 files changed, 0 insertions, 0 deletions
