summaryrefslogtreecommitdiff
path: root/pkg/btrfs/btrfsitem/item_freespaceinfo.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/btrfs/btrfsitem/item_freespaceinfo.go')
-rw-r--r--pkg/btrfs/btrfsitem/item_freespaceinfo.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkg/btrfs/btrfsitem/item_freespaceinfo.go b/pkg/btrfs/btrfsitem/item_freespaceinfo.go
new file mode 100644
index 0000000..4931844
--- /dev/null
+++ b/pkg/btrfs/btrfsitem/item_freespaceinfo.go
@@ -0,0 +1,11 @@
+package btrfsitem
+
+import (
+ "lukeshu.com/btrfs-tools/pkg/binstruct"
+)
+
+type FreeSpaceInfo struct { // FREE_SPACE_INFO=198
+ ExtentCount int32 `bin:"off=0, siz=4"`
+ Flags uint32 `bin:"off=4, siz=4"`
+ binstruct.End `bin:"off=8"`
+}