btrbk: remove warnings on superfluous "btrfs subvolume show" output

Silently accept compatible versions of btrfs-progs. Required keys are
being checked below, no need to warn here.

e.g. btrfs-progs >= v5.2.1 prints:

    Quota group:            0/258
      Limit referenced:     -
      Limit exclusive:      1.00GiB
      Usage referenced:     16.00KiB
      Usage exclusive:      16.00KiB
pull/293/head
Axel Burri 2019-08-04 13:25:01 +02:00
parent 7d656540d7
commit 74be074e6f
1 changed files with 1 additions and 1 deletions

2
btrbk
View File

@ -1001,7 +1001,7 @@ sub btrfs_subvolume_show($;@)
if($trans{$key}) {
$detail{$trans{$key}} = $value;
} else {
WARN "Failed to parse subvolume detail \"$key: $value\" for: $vol->{PRINT}";
DEBUG "Ignoring subvolume detail \"$key: $value\" for: $vol->{PRINT}";
}
}
DEBUG "Parsed " . scalar(keys %detail) . " subvolume detail items: $vol->{PRINT}";