summaryrefslogtreecommitdiff
path: root/pkg/btrfsmisc
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2022-06-26 22:19:29 -0600
committerLuke Shumaker <lukeshu@lukeshu.com>2022-06-26 22:19:41 -0600
commit8463b2bff37978124e5210a59590f1ac33e453c0 (patch)
tree37fc4c13f1fdaedf20ee48a53653414fbb3d9ed7 /pkg/btrfsmisc
parent64c04fc690ec5a276e11500691173962bbe4d99e (diff)
use devid instead of devuuid, add a Mapping struct
Diffstat (limited to 'pkg/btrfsmisc')
-rw-r--r--pkg/btrfsmisc/print_tree.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/btrfsmisc/print_tree.go b/pkg/btrfsmisc/print_tree.go
index a57e69e..c11a294 100644
--- a/pkg/btrfsmisc/print_tree.go
+++ b/pkg/btrfsmisc/print_tree.go
@@ -174,7 +174,7 @@ func PrintTree(fs *btrfs.FS, root btrfs.LogicalAddr) error {
"\t\tseek_speed %v bandwidth %v\n"+
"\t\tuuid %v\n"+
"\t\tfsid %v\n",
- body.DeviceID, body.NumBytes, body.NumBytesUsed,
+ body.DevID, body.NumBytes, body.NumBytesUsed,
body.IOOptimalAlign, body.IOOptimalWidth, body.IOMinSize, body.Type,
body.Generation, body.StartOffset, body.DevGroup,
body.SeekSpeed, body.Bandwidth,