summaryrefslogtreecommitdiff
path: root/lib/btrfs/btrfsitem/items_gen.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2022-07-10 23:49:07 -0600
committerLuke Shumaker <lukeshu@lukeshu.com>2022-07-11 00:44:30 -0600
commitad9ac6d07ce1819260c2b7f090fd4fe742c80d9f (patch)
treeab6a607ea8575382c978f07de943ccf6c077de7c /lib/btrfs/btrfsitem/items_gen.go
parent41ef03aabf8d6db4f926480fc5ddfec014e342d3 (diff)
Fuzz btrfsitem, and by consequence improve binstruct errors
Diffstat (limited to 'lib/btrfs/btrfsitem/items_gen.go')
-rw-r--r--lib/btrfs/btrfsitem/items_gen.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/btrfs/btrfsitem/items_gen.go b/lib/btrfs/btrfsitem/items_gen.go
index 82743b0..8573967 100644
--- a/lib/btrfs/btrfsitem/items_gen.go
+++ b/lib/btrfs/btrfsitem/items_gen.go
@@ -47,8 +47,8 @@ var keytype2gotype = map[Type]reflect.Type{
CHUNK_ITEM_KEY: reflect.TypeOf(Chunk{}),
DEV_EXTENT_KEY: reflect.TypeOf(DevExtent{}),
DEV_ITEM_KEY: reflect.TypeOf(Dev{}),
- DIR_INDEX_KEY: reflect.TypeOf(DirEntries{}),
- DIR_ITEM_KEY: reflect.TypeOf(DirEntries{}),
+ DIR_INDEX_KEY: reflect.TypeOf(DirEntry{}),
+ DIR_ITEM_KEY: reflect.TypeOf(DirEntry{}),
EXTENT_CSUM_KEY: reflect.TypeOf(ExtentCSum{}),
EXTENT_DATA_KEY: reflect.TypeOf(FileExtent{}),
EXTENT_DATA_REF_KEY: reflect.TypeOf(ExtentDataRef{}),
@@ -70,7 +70,7 @@ var keytype2gotype = map[Type]reflect.Type{
TREE_BLOCK_REF_KEY: reflect.TypeOf(Empty{}),
UUID_RECEIVED_SUBVOL_KEY: reflect.TypeOf(UUIDMap{}),
UUID_SUBVOL_KEY: reflect.TypeOf(UUIDMap{}),
- XATTR_ITEM_KEY: reflect.TypeOf(DirEntries{}),
+ XATTR_ITEM_KEY: reflect.TypeOf(DirEntry{}),
}
var untypedObjID2gotype = map[internal.ObjID]reflect.Type{
internal.FREE_SPACE_OBJECTID: reflect.TypeOf(FreeSpaceHeader{}),
@@ -81,7 +81,7 @@ func (Chunk) isItem() {}
func (Dev) isItem() {}
func (DevExtent) isItem() {}
func (DevStats) isItem() {}
-func (DirEntries) isItem() {}
+func (DirEntry) isItem() {}
func (Empty) isItem() {}
func (Extent) isItem() {}
func (ExtentCSum) isItem() {}