]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: factor out a xfs_efd_add_extent helper
authorChristoph Hellwig <hch@lst.de>
Tue, 2 Jul 2024 18:22:54 +0000 (11:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 2 Jul 2024 18:37:02 +0000 (11:37 -0700)
commit81927e6ec621e0607e2c061c7bc768f135cb5dc2
treec963e56aa177d0fe8bf657e14b523551e99145ad
parent61665fae4e4302f2a48de56749640a9f1a4c2ec5
xfs: factor out a xfs_efd_add_extent helper

Factor out a helper to add an extent to and EFD instead of duplicating
the logic in two places.

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_extfree_item.c