diff options
Diffstat (limited to 'src/import/export-raw.c')
-rw-r--r-- | src/import/export-raw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/import/export-raw.c b/src/import/export-raw.c index 44181fd9b2..5c9c2bbcd9 100644 --- a/src/import/export-raw.c +++ b/src/import/export-raw.c @@ -138,7 +138,7 @@ static int raw_export_process(RawExport *e) { * reflink source to destination directly. Let's see * if this works. */ - r = btrfs_reflink(e->input_fd, e->output_fd); + r = reflink(e->input_fd, e->output_fd); if (r >= 0) { r = 0; goto finish; @@ -257,7 +257,7 @@ static int reflink_snapshot(int fd, const char *path) { (void) unlink(t); } - r = btrfs_reflink(fd, new_fd); + r = reflink(fd, new_fd); if (r < 0) { safe_close(new_fd); return r; |