]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: reuse xfs_refcount_update_cancel_item
authorDarrick J. Wong <djwong@kernel.org>
Tue, 9 Jan 2024 17:40:24 +0000 (09:40 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 10 Apr 2024 00:21:45 +0000 (17:21 -0700)
commit4a7986e5b38bb7bd7e67abaab75914da4d79dfa8
tree3663718618de7a819af11f65b69585befd8f0b38
parente93011acb1e3ca499412d4ee5672d27cd1c8ea4c
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