[PATCH v3 3/4] btrfs: remove raid stride length in tree printer

Johannes Thumshirn posted 4 patches 2 years, 2 months ago
[PATCH v3 3/4] btrfs: remove raid stride length in tree printer
Posted by Johannes Thumshirn 2 years, 2 months ago
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
---
 fs/btrfs/print-tree.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/fs/btrfs/print-tree.c b/fs/btrfs/print-tree.c
index 2ade2672ed58..7e46aa8a0444 100644
--- a/fs/btrfs/print-tree.c
+++ b/fs/btrfs/print-tree.c
@@ -215,10 +215,9 @@ static void print_raid_stripe_key(const struct extent_buffer *eb, u32 item_size,
 		btrfs_raid_array[encoding].raid_name : "unknown");
 
 	for (int i = 0; i < num_stripes; i++)
-		pr_info("\t\t\tstride %d devid %llu physical %llu length %llu\n",
+		pr_info("\t\t\tstride %d devid %llu physical %llu\n",
 			i, btrfs_raid_stride_devid(eb, &stripe->strides[i]),
-			btrfs_raid_stride_physical(eb, &stripe->strides[i]),
-			btrfs_raid_stride_length(eb, &stripe->strides[i]));
+			btrfs_raid_stride_physical(eb, &stripe->strides[i]));
 }
 
 /*

-- 
2.41.0
Re: [PATCH v3 3/4] btrfs: remove raid stride length in tree printer
Posted by Johannes Thumshirn 2 years, 2 months ago
Fixes: 380bf60956f4 ("btrfs: add raid stripe tree pretty printer")