]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: support error injection when freeing rt extents
authorDarrick J. Wong <djwong@kernel.org>
Wed, 7 Aug 2024 23:04:26 +0000 (16:04 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Sat, 10 Aug 2024 06:57:28 +0000 (23:57 -0700)
commite426a2bb87e9b00ab5d4477a2b31eeaff4c7ce07
tree2476b64ea2c7d084a01ea82d61fa86c025717ae0
parentf51347b4597af0705795446ee612cb5b205d4339
xfs: support error injection when freeing rt extents

A handful of fstests expect to be able to test what happens when extent
free intents fail to actually free the extent.  Now that we're
supporting EFIs for realtime extents, add to xfs_rtfree_extent the same
injection point that exists in the regular extent freeing code.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/libxfs/xfs_rtbitmap.c