|
@@ -106,7 +106,7 @@ static int test_find_delalloc(u32 sectorsize)
|
|
|
set_extent_delalloc(&tmp, 0, sectorsize - 1, 0, NULL);
|
|
|
start = 0;
|
|
|
end = 0;
|
|
|
- found = find_lock_delalloc_range(inode, &tmp, locked_page, &start,
|
|
|
+ found = btrfs_find_lock_delalloc_range(inode, &tmp, locked_page, &start,
|
|
|
&end, max_bytes);
|
|
|
if (!found) {
|
|
|
test_err("should have found at least one delalloc");
|
|
@@ -137,7 +137,7 @@ static int test_find_delalloc(u32 sectorsize)
|
|
|
set_extent_delalloc(&tmp, sectorsize, max_bytes - 1, 0, NULL);
|
|
|
start = test_start;
|
|
|
end = 0;
|
|
|
- found = find_lock_delalloc_range(inode, &tmp, locked_page, &start,
|
|
|
+ found = btrfs_find_lock_delalloc_range(inode, &tmp, locked_page, &start,
|
|
|
&end, max_bytes);
|
|
|
if (!found) {
|
|
|
test_err("couldn't find delalloc in our range");
|
|
@@ -171,7 +171,7 @@ static int test_find_delalloc(u32 sectorsize)
|
|
|
}
|
|
|
start = test_start;
|
|
|
end = 0;
|
|
|
- found = find_lock_delalloc_range(inode, &tmp, locked_page, &start,
|
|
|
+ found = btrfs_find_lock_delalloc_range(inode, &tmp, locked_page, &start,
|
|
|
&end, max_bytes);
|
|
|
if (found) {
|
|
|
test_err("found range when we shouldn't have");
|
|
@@ -192,7 +192,7 @@ static int test_find_delalloc(u32 sectorsize)
|
|
|
set_extent_delalloc(&tmp, max_bytes, total_dirty - 1, 0, NULL);
|
|
|
start = test_start;
|
|
|
end = 0;
|
|
|
- found = find_lock_delalloc_range(inode, &tmp, locked_page, &start,
|
|
|
+ found = btrfs_find_lock_delalloc_range(inode, &tmp, locked_page, &start,
|
|
|
&end, max_bytes);
|
|
|
if (!found) {
|
|
|
test_err("didn't find our range");
|
|
@@ -233,7 +233,7 @@ static int test_find_delalloc(u32 sectorsize)
|
|
|
* this changes at any point in the future we will need to fix this
|
|
|
* tests expected behavior.
|
|
|
*/
|
|
|
- found = find_lock_delalloc_range(inode, &tmp, locked_page, &start,
|
|
|
+ found = btrfs_find_lock_delalloc_range(inode, &tmp, locked_page, &start,
|
|
|
&end, max_bytes);
|
|
|
if (!found) {
|
|
|
test_err("didn't find our range");
|