diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2026-09-08 23:05:52 -0700 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-09-11 08:44:48 +0200 |
| commit | 69e10c2b4a51b4ff3c88a70e90f5180ad58c758f (patch) | |
| tree | 1c7d3f1f943e66449be0359f8d875dbb6460fea9 /scripts/basic | |
| parent | e854f9a28b1fa08dfa5bf18ee4184fae90106180 (diff) | |
| download | linux-69e10c2b4a51b4ff3c88a70e90f5180ad58c758f.tar.gz linux-69e10c2b4a51b4ff3c88a70e90f5180ad58c758f.zip | |
xfs: reset parent pointer args before each dir tree unlink repair
LOLLM noticed that xfs_parent_removename only partially initializes the
passed-in parent pointer arguments object. In the directory tree repair
code, we could decide to remove multiple links to a file, so we don't
want state from one call to bleed into the next one. Zero the whole
thing explicitly.
Cc: stable@vger.kernel.org # v6.10
Fixes: 3f31406aef493b ("xfs: fix corruptions in the directory tree")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Assisted-by: LOLLM # finding obvious bugs
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
