[PATCH 1/4] btrfs: fix the_btrfs_get_physical invocation in btrfs-map-logical

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



The -b flag without an argument is not supported, so remove it.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>
---
 common/btrfs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/btrfs b/common/btrfs
index c7058918..14ad890e 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 }"
 }
-- 
2.30.2




[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux