mirror of https://github.com/digint/btrbk
btrbk: bugfix: get_receive_targets() for BTRFS_PROGS_COMPAT (regression introduced in 207e8868
)
parent
302400d640
commit
ea5cd06fbc
2
btrbk
2
btrbk
|
@ -1679,7 +1679,7 @@ sub get_receive_targets($$)
|
|||
# guess matches by subvolume name (node->received_uuid is not available if BTRFS_PROGS_COMPAT is set)
|
||||
DEBUG "Fallback to compatibility mode (get_receive_targets)";
|
||||
foreach my $target (@$droot_subvols) {
|
||||
next unless($_->{node}{readonly});
|
||||
next unless($target->{node}{readonly});
|
||||
if($target->{NAME} eq $src_vol->{NAME}) {
|
||||
TRACE "get_receive_targets: by-name: Found receive target: $target->{SUBVOL_PATH}";
|
||||
push(@ret, $target);
|
||||
|
|
Loading…
Reference in New Issue