btrbk: fix regression for "btrbk archive -n"

resolve by mountpoint needs VINFO_MOUNTPOINT, which was not inserted
on fake mkdir:

514e69243a btrbk: add "incremental_resolve" configuration option
pull/286/head
Axel Burri 2019-04-18 17:24:38 +02:00
parent e36289a769
commit 3d2936d40c
1 changed files with 1 additions and 0 deletions

1
btrbk
View File

@ -5182,6 +5182,7 @@ MAIN:
# we need to fake this directory on dryrun
$droot->{node} = $archive_root->{node};
$droot->{NODE_SUBDIR} = $subvol_dir;
$droot->{VINFO_MOUNTPOINT} = $archive_root->{VINFO_MOUNTPOINT};
}
else {
# after directory is created, try to init again