diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2022-06-26 20:25:27 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2022-06-26 20:27:11 -0600 |
commit | 8db7bed06505569c1b41a338b5131cfd5c9d1f28 (patch) | |
tree | a33404699ab627cc71c40bdbe7062ef837c9d7d3 /cmd/btrfs-fsck/pass1.go | |
parent | 09e3317a433add776d6539abcd7cf4f00ca984e5 (diff) |
tidy up which package things are in
Diffstat (limited to 'cmd/btrfs-fsck/pass1.go')
-rw-r--r-- | cmd/btrfs-fsck/pass1.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd/btrfs-fsck/pass1.go b/cmd/btrfs-fsck/pass1.go index 734ee40..7798650 100644 --- a/cmd/btrfs-fsck/pass1.go +++ b/cmd/btrfs-fsck/pass1.go @@ -10,6 +10,7 @@ import ( "lukeshu.com/btrfs-tools/pkg/btrfs" "lukeshu.com/btrfs-tools/pkg/btrfs/btrfsitem" + "lukeshu.com/btrfs-tools/pkg/btrfs/btrfsvol" "lukeshu.com/btrfs-tools/pkg/btrfsmisc" "lukeshu.com/btrfs-tools/pkg/util" ) @@ -339,7 +340,7 @@ func pass1ProcessBlockGroups(blockgroups []sysBlockGroup) { // organize in to a more manageable datastructure type groupAttrs struct { Size btrfs.AddrDelta - Flags btrfsitem.BlockGroupFlags + Flags btrfsvol.BlockGroupFlags } groups := make(map[btrfs.LogicalAddr]groupAttrs) for _, bg := range blockgroups { @@ -370,7 +371,7 @@ func pass1ProcessBlockGroups(blockgroups []sysBlockGroup) { type cluster struct { LAddr btrfs.LogicalAddr Size btrfs.AddrDelta - Flags btrfsitem.BlockGroupFlags + Flags btrfsvol.BlockGroupFlags } var clusters []*cluster for _, laddr := range sortedLAddrs { |