]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: reuse xfs_rmap_update_cancel_item
authorDarrick J. Wong <djwong@kernel.org>
Fri, 17 Nov 2023 17:34:10 +0000 (09:34 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 22 Nov 2023 23:03:37 +0000 (15:03 -0800)
commit650d6d0fd5bd462eae32b82d0a610f6689bb74fa
treed0b129505fb879138d48e87a9ded9fa0b0a2757c
parent69e8edf4678384abc533401d65f9ab72fb878cfa
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