diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2022-06-05 23:57:05 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2022-06-05 23:57:05 -0600 |
commit | 6a5b5b59345c6e57ba496c7d517902c339d2f0b8 (patch) | |
tree | e3428175ffd07791fad1406401fe1856e95e8555 /pkg/btrfsmisc | |
parent | 5c02065e573ce42d9d83099b524566878ba61bdb (diff) |
wip gather stripes
Diffstat (limited to 'pkg/btrfsmisc')
-rw-r--r-- | pkg/btrfsmisc/print_tree.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/btrfsmisc/print_tree.go b/pkg/btrfsmisc/print_tree.go index a771b65..3211d1d 100644 --- a/pkg/btrfsmisc/print_tree.go +++ b/pkg/btrfsmisc/print_tree.go @@ -159,11 +159,11 @@ func PrintTree(fs *btrfs.FS, root btrfs.LogicalAddr) error { fmt.Printf("\t\tfree space bitmap\n") case btrfsitem.Chunk: fmt.Printf("\t\tlength %d owner %d stripe_len %d type %v\n", - body.Size, body.Owner, body.StripeLen, body.Type) + body.Head.Size, body.Head.Owner, body.Head.StripeLen, body.Head.Type) fmt.Printf("\t\tio_align %d io_width %d sector_size %d\n", - body.IOOptimalAlign, body.IOOptimalWidth, body.IOMinSize) + body.Head.IOOptimalAlign, body.Head.IOOptimalWidth, body.Head.IOMinSize) fmt.Printf("\t\tnum_stripes %d sub_stripes %d\n", - body.NumStripes, body.SubStripes) + body.Head.NumStripes, body.Head.SubStripes) for i, stripe := range body.Stripes { fmt.Printf("\t\t\tstripe %d devid %d offset %d\n", i, stripe.DeviceID, stripe.Offset) |