]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: reuse xfs_refcount_update_cancel_item
authorDarrick J. Wong <djwong@kernel.org>
Wed, 3 Jul 2024 21:21:42 +0000 (14:21 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 9 Jul 2024 22:37:07 +0000 (15:37 -0700)
commit8d45003b9d0cb7c8250f4ab8c507a44a46d02e60
tree3072d33cab8ab783cb4f658da50ba67e77b2f319
parent992851468cda72edd9776ed8a037d6526cdbb96c
xfs: reuse xfs_refcount_update_cancel_item

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

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