]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libxfs: reuse xfs_bmap_update_cancel_item
authorDarrick J. Wong <djwong@kernel.org>
Mon, 22 Apr 2024 17:01:15 +0000 (10:01 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 3 Jun 2024 18:37:41 +0000 (11:37 -0700)
commitb97324b82b5975a617b5bd511f3b264ef4b3a427
treefc16c34ac57d19d88c0d1826389ebb25dc466591
parent9b2a3a3fed4bc8656569aaba049acf59cacb1294
libxfs: reuse xfs_bmap_update_cancel_item

Reuse xfs_bmap_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>
Reviewed-by: Christoph Hellwig <hch@lst.de>
libxfs/defer_item.c