diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2026-09-01 22:48:30 -0700 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-09-07 07:50:36 +0200 |
| commit | 1a441c6842da75c5b862cc1c9f7969d6a93b54b9 (patch) | |
| tree | fc83d92af2ce2f5ddad5efc6790dc8ce8b83b47b /scripts/Makefile.thinlto | |
| parent | 014c1aff607a839b8ddc732da919b94560ae58c2 (diff) | |
| download | linux-stable-1a441c6842da75c5b862cc1c9f7969d6a93b54b9.tar.gz linux-stable-1a441c6842da75c5b862cc1c9f7969d6a93b54b9.zip | |
xfs: destroy seen inode bitmap when we fail to add a dirpath
LOLLM observes a memory leak in xchk_dirtree_create_path if we create
the directory path object but appending the name to the path fails.
When this happens, we don't tear down the (empty) seen inode bitmap.
This is a pretty trivial error, but let's not leave logic bombs.
Do the same for a similar bug in xrep_dirtree_create_adoption_path.
Cc: stable@vger.kernel.org # v6.10
Fixes: 928b721a11789a ("xfs: teach online scrub to find directory tree structure problems")
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Assisted-by: LOLLM # finding obvious bugs
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
