]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: reuse xfs_extent_free_cancel_item
authorDarrick J. Wong <djwong@kernel.org>
Tue, 9 Jan 2024 17:40:09 +0000 (09:40 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 10 Apr 2024 00:21:42 +0000 (17:21 -0700)
commit010157985b7dc38599db46053c6711e7f25d91bc
tree8c1d354726c8a378a645b2d40ca96cc7ba47f9d7
parent1d020a8b0553091f7ab693990c06f68eae229364
xfs: reuse xfs_extent_free_cancel_item

Reuse xfs_extent_free_cancel_item to put the AG/RTG and free the item in
a few places that currently open code the logic.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
libxfs/defer_item.c