lkml.org 
[lkml]   [2023]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subject[PATCH v3 3/4] btrfs: remove raid stride length in tree printer
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

\
 
 \ /
  Last update: 2023-10-04 09:57    [W:1.735 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site