xfs: expose xfs_bmap_local_to_extents for online repair
authorDarrick J. Wong <djwong@kernel.org>
Mon, 15 Apr 2024 21:54:58 +0000 (14:54 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 15 Apr 2024 21:58:57 +0000 (14:58 -0700)
commitef744be416b5c649d287604730400dfa728779fe
tree91916f26861067ab3f6a3f8a16f121dbb81839d1
parent73597e3e42b4a15030e6f93b71b53a04377ea419
xfs: expose xfs_bmap_local_to_extents for online repair

Allow online repair to call xfs_bmap_local_to_extents and add a void *
argument at the end so that online repair can pass its own context.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_bmap.c
fs/xfs/libxfs/xfs_bmap.h
fs/xfs/libxfs/xfs_symlink_remote.c
fs/xfs/libxfs/xfs_symlink_remote.h