From f11acf5f5a8c72af59712cf3cda62c47d1a80e5d Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 25 May 2022 19:41:31 -0600 Subject: load the chunk tree --- pkg/btrfs/types_structs.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pkg/btrfs/types_structs.go') 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"` } -- cgit v1.2.3-2-g168b