Files
linux/fs/xfs
Christoph Hellwig d8a823c6f0 xfs: free xfs_busy_extents structure when no RT extents are queued
kmemleak occasionally reports leaking xfs_busy_extents structure
from xfs_scrub calls after running xfs/528 (but attributed to following
tests), which seems to be caused by not freeing the xfs_busy_extents
structure when tr.queued is 0 and xfs_trim_rtgroup_extents breaks out
of the main loop.  Free the structure in this case.

Fixes: a3315d1130 ("xfs: use rtgroup busy extent list for FITRIM")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
2025-11-06 08:59:19 +01:00
..
2025-05-07 07:31:07 -06:00
2024-11-03 01:28:06 -05:00
2025-08-11 14:03:44 +02:00
2025-08-11 14:03:31 +02:00
2025-08-11 14:03:31 +02:00
2025-03-03 08:16:56 -07:00