]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: reuse xfs_rmap_update_cancel_item
authorChristoph Hellwig <hch@lst.de>
Wed, 2 Oct 2024 01:19:32 +0000 (18:19 -0700)
committerAndrey Albershteyn <aalbersh@redhat.com>
Fri, 4 Oct 2024 10:42:07 +0000 (12:42 +0200)
commit4b7979f5f4b9bd7a8c975f4d8857d12388efe855
tree3922df2d34c497574d6d468d1780fc41b067543e
parent8c775051ce9cc34069a0cf75c4744adbb7c4540d
xfs: reuse xfs_rmap_update_cancel_item

Source kernel commit: 37f9d1db03ba0511403c5d25ba0baaddf5208ba7

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