diff options
author | Filipe Manana <[email protected]> | 2020-09-08 11:27:24 +0100 |
---|---|---|
committer | David Sterba <[email protected]> | 2020-10-07 12:13:17 +0200 |
commit | 0cbb5bdfea2675f4b9749f99120a79f9e0a28600 (patch) | |
tree | a2e9d5bd3a29abc90132ffbf44d7028aff943aec /scripts/gcc-plugins | |
parent | 306bfec02b1054d24bbbeec49ece6db396d451e0 (diff) |
btrfs: rename btrfs_insert_clone_extent() to a more generic name
Now that we use the same mechanism to replace all the extents in a file
range with either a hole, an existing extent (when cloning) or a new
extent (when using fallocate), the name of btrfs_insert_clone_extent()
no longer reflects its genericity.
So rename it to btrfs_insert_replace_extent(), since what it does is
to either insert an existing extent or a new extent into a file range.
Reviewed-by: Josef Bacik <[email protected]>
Signed-off-by: Filipe Manana <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions