btrfs: rename struct btrfs_clone_extent_info to a more generic name
authorFilipe Manana <fdmanana@suse.com>
Tue, 8 Sep 2020 10:27:22 +0000 (11:27 +0100)
committerDavid Sterba <dsterba@suse.com>
Wed, 7 Oct 2020 10:13:16 +0000 (12:13 +0200)
commitbf385648fa4805acf206254c77916edb58dbfe25
tree053c5565ba367be14d549f273284439753030322
parentfb870f6cdd72a1f143d9d25ab864e474fed65616
btrfs: rename struct btrfs_clone_extent_info to a more generic name

Now that we can use btrfs_clone_extent_info to convey information for a
new prealloc extent as well, and not just for existing extents that are
being cloned, rename it to btrfs_replace_extent_info, which reflects the
fact that this is now more generic and it is used to replace all existing
extents in a file range with the extent described by the structure.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/file.c
fs/btrfs/inode.c
fs/btrfs/reflink.c