From 70fc3adf402eb956e6061fae75e46c46c1ad606d Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 1 Jun 2022 01:56:16 -0600 Subject: update main, kinda --- pkg/btrfs/btrfsitem/item_uuid.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pkg/btrfs/btrfsitem/item_uuid.go') diff --git a/pkg/btrfs/btrfsitem/item_uuid.go b/pkg/btrfs/btrfsitem/item_uuid.go index 315dd70..894ccff 100644 --- a/pkg/btrfs/btrfsitem/item_uuid.go +++ b/pkg/btrfs/btrfsitem/item_uuid.go @@ -2,20 +2,20 @@ package btrfsitem import ( "lukeshu.com/btrfs-tools/pkg/binstruct" - "lukeshu.com/btrfs-tools/pkg/btrfs/btrfstyp" + "lukeshu.com/btrfs-tools/pkg/btrfs/internal" ) // The Key for this item is a UUID, and the item is a list of // subvolume IDs (ObjectIDs) that that UUID maps to. type UUIDMap struct { // UUID_SUBVOL=251 UUID_RECEIVED_SUBVOL=252 - SubvolIDs []btrfstyp.ObjID + SubvolIDs []internal.ObjID } func (o *UUIDMap) UnmarshalBinary(dat []byte) (int, error) { o.SubvolIDs = nil var n int for len(dat) > n { - var subvolID btrfstyp.ObjID + var subvolID internal.ObjID _n, err := binstruct.Unmarshal(dat[n:], &subvolID) n += _n if err != nil { -- cgit v1.2.3-2-g168b