]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: reuse xfs_rmap_update_cancel_item
authorChristoph Hellwig <hch@lst.de>
Tue, 2 Jul 2024 18:23:01 +0000 (11:23 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 2 Jul 2024 18:37:04 +0000 (11:37 -0700)
commit37f9d1db03ba0511403c5d25ba0baaddf5208ba7
tree0f571691d13914ae53c0cec5aef961063c7cdb83
parentf93963779b438a33ca4b13384c070a6864ce2b2b
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>
fs/xfs/xfs_rmap_item.c