]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: move cow_replace_mapping to xfs_bmap_util.c
authorDarrick J. Wong <djwong@kernel.org>
Tue, 14 Jul 2026 06:04:39 +0000 (23:04 -0700)
committerCarlos Maiolino <cem@kernel.org>
Tue, 14 Jul 2026 09:01:47 +0000 (11:01 +0200)
commit60a1dde9d28948a88ed5a06cf0b6179b1d487f85
tree65f52a026ab2b3fffb1f4a75b0a849f4f09afe0f
parentbcb0621204e6999bb8f3a6c7deb5c6abfe0f197b
xfs: move cow_replace_mapping to xfs_bmap_util.c

Move the actual details of (partially) replacing a COW fork mapping to
xfs_bmap_util.c so that all the code doing hairy operations on subsets
of bmbt_irecs are kept together.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/scrub/cow_repair.c
fs/xfs/scrub/trace.h
fs/xfs/xfs_bmap_util.c
fs/xfs/xfs_bmap_util.h
fs/xfs/xfs_trace.h