diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2022-06-30 04:14:55 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2022-06-30 04:14:55 -0600 |
commit | b78fe1835fed316bd8e9e51c91fcc05422330490 (patch) | |
tree | eb8ed91bf6160aa732229cc4374eaf0c527b50ef /pkg/btrfs/btrfsitem/item_devextent.go | |
parent | 27d2f3a0efe6de94c7720907557e640e8a2f1428 (diff) |
lock sizes, use blockgroups
Diffstat (limited to 'pkg/btrfs/btrfsitem/item_devextent.go')
-rw-r--r-- | pkg/btrfs/btrfsitem/item_devextent.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkg/btrfs/btrfsitem/item_devextent.go b/pkg/btrfs/btrfsitem/item_devextent.go index c7707bd..56fba27 100644 --- a/pkg/btrfs/btrfsitem/item_devextent.go +++ b/pkg/btrfs/btrfsitem/item_devextent.go @@ -25,7 +25,8 @@ func (devext DevExtent) Mapping(key internal.Key) btrfsvol.Mapping { Dev: btrfsvol.DeviceID(key.ObjectID), Addr: btrfsvol.PhysicalAddr(key.Offset), }, - Size: devext.Length, - Flags: nil, + Size: devext.Length, + SizeLocked: true, + Flags: nil, } } |