]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: reuse xfs_rmap_update_cancel_item
authorChristoph Hellwig <hch@lst.de>
Wed, 3 Jul 2024 21:21:40 +0000 (14:21 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:13:14 +0000 (17:13 -0700)
commita5cced04bb0350433db6c932bcd034042d1d6b86
tree0caf7f716224eb00e3743f23f971fb53816a3a69
parentc94b3e4cde2b751bb32ad4648bfb1690e141f764
xfs: reuse xfs_rmap_update_cancel_item

Reuse xfs_rmap_update_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