From 01230cde22725a8d1efc5721da5485af68ed7771 Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Sun, 19 May 2019 15:20:13 +0200 Subject: [PATCH] btrbk: bugfix: add missing (fake) mountpoint for raw targets For raw targets, get_best_parent() dies as VINFO_MOUNTPOINT is not defined on raw vinfo. Fixes regression of: d64e237e94 btrbk: get_best_parent: consider all parent/child relations --- btrbk | 1 + 1 file changed, 1 insertion(+) diff --git a/btrbk b/btrbk index 8e1de52..381f80e 100755 --- a/btrbk +++ b/btrbk @@ -2706,6 +2706,7 @@ sub vinfo_init_raw_root($;@) } $droot->{node} = $tree_root; + $droot->{VINFO_MOUNTPOINT} = $droot; # fake mountpoint $raw_url_cache{$droot->{URL}} = $tree_root; return $tree_root;