summaryrefslogtreecommitdiff
path: root/src/import/pull-dkr.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-04-06 11:47:25 +0200
committerLennart Poettering <lennart@poettering.net>2015-04-06 14:54:58 +0200
commite9bc1871b974fa9e33d9c1a45e249e6d1c8bc562 (patch)
treef93a39ce8b13bcc2d0daa008224392735511898f /src/import/pull-dkr.c
parentd9e2daaf3d8649650cf9784b4fe9d9de4507da0c (diff)
btrfs: make btrfs_subvol_snapshot() parameters a flags field
Diffstat (limited to 'src/import/pull-dkr.c')
-rw-r--r--src/import/pull-dkr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/import/pull-dkr.c b/src/import/pull-dkr.c
index 402ddac32b..c922bace45 100644
--- a/src/import/pull-dkr.c
+++ b/src/import/pull-dkr.c
@@ -486,7 +486,7 @@ static int dkr_pull_job_on_open_disk(PullJob *j) {
const char *base_path;
base_path = strjoina(i->image_root, "/.dkr-", base);
- r = btrfs_subvol_snapshot(base_path, i->temp_path, false, true);
+ r = btrfs_subvol_snapshot(base_path, i->temp_path, BTRFS_SNAPSHOT_FALLBACK_COPY);
} else
r = btrfs_subvol_make(i->temp_path);
if (r < 0)