btrfs: rename and export __btrfs_cow_block()
[ Upstream commit 95f93bc4 ] Rename and export __btrfs_cow_block() as btrfs_force_cow_block(). This is to allow to move defrag specific code out of ctree.c and into defrag.c in one of the next patches. Signed-off-by:Filipe Manana <fdmanana@suse.com> Reviewed-by:
David Sterba <dsterba@suse.com> Signed-off-by:
David Sterba <dsterba@suse.com> Stable-dep-of: 44f52bbe ("btrfs: fix use-after-free when COWing tree bock and tracing is enabled") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading