diff options
| author | Christoph Hellwig <[email protected]> | 2025-07-16 13:03:19 +0000 |
|---|---|---|
| committer | Carlos Maiolino <[email protected]> | 2025-07-24 15:30:14 +0000 |
| commit | 59655147ec34fb72cc090ca4ee688ece05ffac56 (patch) | |
| tree | 1d3e9b7a2d93368059b74d44d53f141a42b05466 /fs/xfs/xfs_zone_alloc.c | |
| parent | xfs: remove the xlog_ticket_t typedef (diff) | |
| download | kernel-59655147ec34fb72cc090ca4ee688ece05ffac56.tar.gz kernel-59655147ec34fb72cc090ca4ee688ece05ffac56.zip | |
xfs: improve the xg_active_ref check in xfs_group_free
Split up the XFS_IS_CORRUPT statement so that it immediately shows
if the reference counter overflowed or underflowed.
I ran into this quite a bit when developing the zoned allocator, and had
to reapply the patch for some work recently. We might as well just apply
it upstream given that freeing group is far removed from performance
critical code.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Carlos Maiolino <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_zone_alloc.c')
0 files changed, 0 insertions, 0 deletions
