aboutsummaryrefslogtreecommitdiffstats
path: root/src/copy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/copy.c')
-rw-r--r--src/copy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/copy.c b/src/copy.c
index 902c6bbea..b309a8643 100644
--- a/src/copy.c
+++ b/src/copy.c
@@ -211,7 +211,7 @@ extent_copy (int src_fd, int dest_fd, size_t buf_size,
bool ok = get_extents_info (&scan);
if (! ok)
{
- if (scan.hit_last_extent)
+ if (scan.hit_final_extent)
break;
if (scan.initial_scan_failed)
@@ -305,7 +305,7 @@ extent_copy (int src_fd, int dest_fd, size_t buf_size,
/* Release the space allocated to scan->ext_info. */
free_extents_info (&scan);
- } while (! scan.hit_last_extent);
+ } while (! scan.hit_final_extent);
/* Do nothing now. */
close_extent_scan (&scan);