summaryrefslogtreecommitdiff
path: root/pkg/btrfs/types_structs.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2022-05-25 19:41:31 -0600
committerLuke Shumaker <lukeshu@lukeshu.com>2022-05-25 19:41:31 -0600
commitf11acf5f5a8c72af59712cf3cda62c47d1a80e5d (patch)
tree1b5a7a0056de5a39ae6197e6895ae5312e46af89 /pkg/btrfs/types_structs.go
parent90c58d14d28729aa5cae8b7d1306177553b46314 (diff)
load the chunk tree
Diffstat (limited to 'pkg/btrfs/types_structs.go')
-rw-r--r--pkg/btrfs/types_structs.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/btrfs/types_structs.go b/pkg/btrfs/types_structs.go
index f96c20a..22e3f73 100644
--- a/pkg/btrfs/types_structs.go
+++ b/pkg/btrfs/types_structs.go
@@ -226,9 +226,9 @@ func (in *InternalNode) GetNodeHeader() Ref[LogicalAddr, NodeHeader] {
}
type KeyPointer struct {
- Key Key `bin:"off=0, siz=11"`
- BlockNumber uint64 `bin:"off=11, siz=8"`
- Generation Generation `bin:"off=19, siz=8"`
+ Key Key `bin:"off=0, siz=11"`
+ BlockPtr LogicalAddr `bin:"off=11, siz=8"`
+ Generation Generation `bin:"off=19, siz=8"`
binstruct.End `bin:"off=21"`
}