btrfs: rename setup_extent_mapping in relocation code
[sfrench/cifs-2.6.git] / fs / btrfs / relocation.c
index c33fe522aaaad87c2c8a553ede6b25f878393e7c..5e5066ee03e6f7a07815be343b313bc58af4f919 100644 (file)
@@ -2879,9 +2879,8 @@ static noinline_for_stack int prealloc_file_extent_cluster(
        return ret;
 }
 
-static noinline_for_stack
-int setup_extent_mapping(struct inode *inode, u64 start, u64 end,
-                        u64 block_start)
+static noinline_for_stack int setup_relocation_extent_mapping(struct inode *inode,
+                               u64 start, u64 end, u64 block_start)
 {
        struct extent_map_tree *em_tree = &BTRFS_I(inode)->extent_tree;
        struct extent_map *em;
@@ -3080,7 +3079,7 @@ static int relocate_file_extent_cluster(struct inode *inode,
 
        file_ra_state_init(ra, inode->i_mapping);
 
-       ret = setup_extent_mapping(inode, cluster->start - offset,
+       ret = setup_relocation_extent_mapping(inode, cluster->start - offset,
                                   cluster->end - offset, cluster->start);
        if (ret)
                goto out;