From: Christoph Hellwig Date: Wed, 22 Jun 2022 04:58:41 +0000 (+0200) Subject: btrfs: fix the_btrfs_get_physical invocation in btrfs-map-logical X-Git-Tag: v2022.07.03~17 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=c4d2eeedf7f69b30f35a1281328fda9b9b4c19b9;p=users%2Fhch%2Fxfstests-dev.git btrfs: fix the_btrfs_get_physical invocation in btrfs-map-logical The -b flag without an argument is not supported, so remove it. Signed-off-by: Christoph Hellwig Reviewed-by: Zorro Lang Signed-off-by: Zorro Lang --- diff --git a/common/btrfs b/common/btrfs index c7058918c..14ad890ea 100644 --- a/common/btrfs +++ b/common/btrfs @@ -537,7 +537,7 @@ _btrfs_get_physical() _require_command "$BTRFS_MAP_LOGICAL_PROG" btrfs-map-logical - $BTRFS_MAP_LOGICAL_PROG -b -l $logical $SCRATCH_DEV >> $seqres.full 2>&1 + $BTRFS_MAP_LOGICAL_PROG -l $logical $SCRATCH_DEV >> $seqres.full 2>&1 $BTRFS_MAP_LOGICAL_PROG -l $logical $SCRATCH_DEV | \ $AWK_PROG "(\$1 ~ /mirror/ && \$2 ~ /$stripe/) { print \$6 }" }