diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2023-02-03 13:04:17 -0700 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2023-02-12 16:16:53 -0700 |
commit | 21e92e5dea4d8efc65403eeaee91b32856b86cb6 (patch) | |
tree | 331fc7c8d8765fa11364d4fc28302e829a34e678 /lib/btrfs/btrfsitem/item_freespaceinfo.go | |
parent | 11ac4fae146e5f599f34a5fafa27e20fecf713a9 (diff) |
btrfsitem: Add `Free` and `CloneItem` methods to Items
Diffstat (limited to 'lib/btrfs/btrfsitem/item_freespaceinfo.go')
-rw-r--r-- | lib/btrfs/btrfsitem/item_freespaceinfo.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/btrfs/btrfsitem/item_freespaceinfo.go b/lib/btrfs/btrfsitem/item_freespaceinfo.go index b38da20..0699367 100644 --- a/lib/btrfs/btrfsitem/item_freespaceinfo.go +++ b/lib/btrfs/btrfsitem/item_freespaceinfo.go @@ -1,4 +1,4 @@ -// Copyright (C) 2022 Luke Shumaker <lukeshu@lukeshu.com> +// Copyright (C) 2022-2023 Luke Shumaker <lukeshu@lukeshu.com> // // SPDX-License-Identifier: GPL-2.0-or-later @@ -11,7 +11,7 @@ import ( // key.objectid = object ID of the BlockGroup (logical_addr) // key.offset = offset of the BlockGroup (size) -type FreeSpaceInfo struct { // FREE_SPACE_INFO=198 +type FreeSpaceInfo struct { // trivial FREE_SPACE_INFO=198 ExtentCount int32 `bin:"off=0, siz=4"` Flags FreeSpaceFlags `bin:"off=4, siz=4"` binstruct.End `bin:"off=8"` |