diff options
| author | Darrick J. Wong <djwong@kernel.org> | 2026-02-18 15:25:35 -0800 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-02-25 13:58:48 +0100 |
| commit | 161456987a1fe4ad73c3f36dec1f684316ac9bdd (patch) | |
| tree | e3d04c74b72886bcf1fc111807167f1149099908 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | e764dd439d68cfc16724e469db390d779ab49521 (diff) | |
xfs: fix xfs_group release bug in xfs_verify_report_losses
Chris Mason reports that his AI tools noticed that we were using
xfs_perag_put and xfs_group_put to release the group reference returned
by xfs_group_next_range. However, the iterator function returns an
object with an active refcount, which means that we must use the correct
function to release the active refcount, which is _rele.
Fixes: b8accfd65d31f2 ("xfs: add media verification ioctl")
Reported-by: Chris Mason <clm@meta.com>
Link: https://lore.kernel.org/linux-xfs/20260206030527.2506821-1-clm@meta.com/
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
