]> www.infradead.org Git - users/hch/xfstests-dev.git/commitdiff
btrfs: fix the_btrfs_get_physical invocation in btrfs-map-logical
authorChristoph Hellwig <hch@lst.de>
Wed, 22 Jun 2022 04:58:41 +0000 (06:58 +0200)
committerZorro Lang <zlang@kernel.org>
Sat, 2 Jul 2022 13:27:00 +0000 (21:27 +0800)
The -b flag without an argument is not supported, so remove it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/btrfs

index c7058918cecd81845727eda0359d2cfd3f927545..14ad890eabb56446c4b8b68b187988a06b6a82f7 100644 (file)
@@ -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 }"
 }