summaryrefslogtreecommitdiff
path: root/pkg/btrfs/btrfsitem
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2022-06-05 21:30:25 -0600
committerLuke Shumaker <lukeshu@lukeshu.com>2022-06-05 21:31:00 -0600
commit7b8cdb995ecce81e4603a31e3304f6a2b9401c4c (patch)
tree4b9c26b3e08db84051512ee6e6e57a8caa9cc8d9 /pkg/btrfs/btrfsitem
parent9c0f3db2bc6bb9fa63542194eda91fab304a6b86 (diff)
more fsck
Diffstat (limited to 'pkg/btrfs/btrfsitem')
-rw-r--r--pkg/btrfs/btrfsitem/item_chunk.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/btrfs/btrfsitem/item_chunk.go b/pkg/btrfs/btrfsitem/item_chunk.go
index eae8339..4389a46 100644
--- a/pkg/btrfs/btrfsitem/item_chunk.go
+++ b/pkg/btrfs/btrfsitem/item_chunk.go
@@ -23,9 +23,9 @@ type Chunk struct { // CHUNK_ITEM=228
}
type ChunkStripe struct {
- DeviceID internal.ObjID `bin:"off=0x0, siz=0x8"`
- Offset uint64 `bin:"off=0x8, siz=0x8"`
- DeviceUUID internal.UUID `bin:"off=0x10, siz=0x10"`
+ DeviceID internal.ObjID `bin:"off=0x0, siz=0x8"`
+ Offset internal.PhysicalAddr `bin:"off=0x8, siz=0x8"`
+ DeviceUUID internal.UUID `bin:"off=0x10, siz=0x10"`
binstruct.End `bin:"off=0x20"`
}