summaryrefslogtreecommitdiff
path: root/pkg/btrfs/btrfsitem
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2022-06-05 11:15:18 -0600
committerLuke Shumaker <lukeshu@lukeshu.com>2022-06-05 11:15:18 -0600
commit65fe72e1daf67d0c9ca3e460e6ec72e0e4a948fe (patch)
treea7c1e578f4c0c3b6151361fac400169b633b03ab /pkg/btrfs/btrfsitem
parentfd100fd8425b82c09eba2e291d1dcbfcb1242774 (diff)
re-order items.txt
Diffstat (limited to 'pkg/btrfs/btrfsitem')
-rw-r--r--pkg/btrfs/btrfsitem/items.txt18
-rw-r--r--pkg/btrfs/btrfsitem/items_gen.go36
2 files changed, 27 insertions, 27 deletions
diff --git a/pkg/btrfs/btrfsitem/items.txt b/pkg/btrfs/btrfsitem/items.txt
index 5e9a17d..e713a80 100644
--- a/pkg/btrfs/btrfsitem/items.txt
+++ b/pkg/btrfs/btrfsitem/items.txt
@@ -1,22 +1,22 @@
BLOCK_GROUP_ITEM=192 BlockGroup
CHUNK_ITEM=228 Chunk
-DEV_ITEM=216 Dev
DEV_EXTENT=204 DevExtent
-DIR_ITEM=84, DirList
+DEV_ITEM=216 Dev
DIR_INDEX=96, DirList
-XATTR_ITEM=24 DirList
-UNTYPED=0, Empty
-TREE_BLOCK_REF=176, Empty
-SHARED_BLOCK_REF=182, Empty
-QGROUP_RELATION=246 Empty
-EXTENT_ITEM=168 Extent
+DIR_ITEM=84, DirList
EXTENT_DATA_REF=178 ExtentDataRef
+EXTENT_ITEM=168 Extent
INODE_ITEM=1 Inode
INODE_REF=12 InodeRefList
METADATA_ITEM=169 Metadata
ORPHAN_ITEM=48 Orphan
PERSISTENT_ITEM=249 DevStats
+QGROUP_RELATION=246 Empty
ROOT_ITEM=132 Root
+SHARED_BLOCK_REF=182, Empty
SHARED_DATA_REF=184 SharedDataRef
-UUID_SUBVOL=251 UUIDMap
+TREE_BLOCK_REF=176, Empty
+UNTYPED=0, Empty
UUID_RECEIVED_SUBVOL=252 UUIDMap
+UUID_SUBVOL=251 UUIDMap
+XATTR_ITEM=24 DirList
diff --git a/pkg/btrfs/btrfsitem/items_gen.go b/pkg/btrfs/btrfsitem/items_gen.go
index 8c51875..063c2e7 100644
--- a/pkg/btrfs/btrfsitem/items_gen.go
+++ b/pkg/btrfs/btrfsitem/items_gen.go
@@ -11,51 +11,51 @@ import (
const (
BLOCK_GROUP_ITEM_KEY = internal.BLOCK_GROUP_ITEM_KEY
CHUNK_ITEM_KEY = internal.CHUNK_ITEM_KEY
- DEV_ITEM_KEY = internal.DEV_ITEM_KEY
DEV_EXTENT_KEY = internal.DEV_EXTENT_KEY
- DIR_ITEM_KEY = internal.DIR_ITEM_KEY
+ DEV_ITEM_KEY = internal.DEV_ITEM_KEY
DIR_INDEX_KEY = internal.DIR_INDEX_KEY
- XATTR_ITEM_KEY = internal.XATTR_ITEM_KEY
- UNTYPED_KEY = internal.UNTYPED_KEY
- TREE_BLOCK_REF_KEY = internal.TREE_BLOCK_REF_KEY
- SHARED_BLOCK_REF_KEY = internal.SHARED_BLOCK_REF_KEY
- QGROUP_RELATION_KEY = internal.QGROUP_RELATION_KEY
- EXTENT_ITEM_KEY = internal.EXTENT_ITEM_KEY
+ DIR_ITEM_KEY = internal.DIR_ITEM_KEY
EXTENT_DATA_REF_KEY = internal.EXTENT_DATA_REF_KEY
+ EXTENT_ITEM_KEY = internal.EXTENT_ITEM_KEY
INODE_ITEM_KEY = internal.INODE_ITEM_KEY
INODE_REF_KEY = internal.INODE_REF_KEY
METADATA_ITEM_KEY = internal.METADATA_ITEM_KEY
ORPHAN_ITEM_KEY = internal.ORPHAN_ITEM_KEY
PERSISTENT_ITEM_KEY = internal.PERSISTENT_ITEM_KEY
+ QGROUP_RELATION_KEY = internal.QGROUP_RELATION_KEY
ROOT_ITEM_KEY = internal.ROOT_ITEM_KEY
+ SHARED_BLOCK_REF_KEY = internal.SHARED_BLOCK_REF_KEY
SHARED_DATA_REF_KEY = internal.SHARED_DATA_REF_KEY
- UUID_SUBVOL_KEY = internal.UUID_SUBVOL_KEY
+ TREE_BLOCK_REF_KEY = internal.TREE_BLOCK_REF_KEY
+ UNTYPED_KEY = internal.UNTYPED_KEY
UUID_RECEIVED_SUBVOL_KEY = internal.UUID_RECEIVED_SUBVOL_KEY
+ UUID_SUBVOL_KEY = internal.UUID_SUBVOL_KEY
+ XATTR_ITEM_KEY = internal.XATTR_ITEM_KEY
)
var keytype2gotype = map[Type]reflect.Type{
BLOCK_GROUP_ITEM_KEY: reflect.TypeOf(BlockGroup{}),
CHUNK_ITEM_KEY: reflect.TypeOf(Chunk{}),
- DEV_ITEM_KEY: reflect.TypeOf(Dev{}),
DEV_EXTENT_KEY: reflect.TypeOf(DevExtent{}),
- DIR_ITEM_KEY: reflect.TypeOf(DirList{}),
+ DEV_ITEM_KEY: reflect.TypeOf(Dev{}),
DIR_INDEX_KEY: reflect.TypeOf(DirList{}),
- XATTR_ITEM_KEY: reflect.TypeOf(DirList{}),
- UNTYPED_KEY: reflect.TypeOf(Empty{}),
- TREE_BLOCK_REF_KEY: reflect.TypeOf(Empty{}),
- SHARED_BLOCK_REF_KEY: reflect.TypeOf(Empty{}),
- QGROUP_RELATION_KEY: reflect.TypeOf(Empty{}),
- EXTENT_ITEM_KEY: reflect.TypeOf(Extent{}),
+ DIR_ITEM_KEY: reflect.TypeOf(DirList{}),
EXTENT_DATA_REF_KEY: reflect.TypeOf(ExtentDataRef{}),
+ EXTENT_ITEM_KEY: reflect.TypeOf(Extent{}),
INODE_ITEM_KEY: reflect.TypeOf(Inode{}),
INODE_REF_KEY: reflect.TypeOf(InodeRefList{}),
METADATA_ITEM_KEY: reflect.TypeOf(Metadata{}),
ORPHAN_ITEM_KEY: reflect.TypeOf(Orphan{}),
PERSISTENT_ITEM_KEY: reflect.TypeOf(DevStats{}),
+ QGROUP_RELATION_KEY: reflect.TypeOf(Empty{}),
ROOT_ITEM_KEY: reflect.TypeOf(Root{}),
+ SHARED_BLOCK_REF_KEY: reflect.TypeOf(Empty{}),
SHARED_DATA_REF_KEY: reflect.TypeOf(SharedDataRef{}),
- UUID_SUBVOL_KEY: reflect.TypeOf(UUIDMap{}),
+ TREE_BLOCK_REF_KEY: reflect.TypeOf(Empty{}),
+ UNTYPED_KEY: reflect.TypeOf(Empty{}),
UUID_RECEIVED_SUBVOL_KEY: reflect.TypeOf(UUIDMap{}),
+ UUID_SUBVOL_KEY: reflect.TypeOf(UUIDMap{}),
+ XATTR_ITEM_KEY: reflect.TypeOf(DirList{}),
}
func (BlockGroup) isItem() {}