diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2023-03-22 10:22:43 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2023-03-30 10:06:52 -0600 |
commit | 87e107c3a5ed5793609ef8cc7c0f43209026902d (patch) | |
tree | c718f4316787e4c22f28b50b4c2d879f6ff9e030 /lib/btrfsutil/old_rebuilt_forrest.go | |
parent | 933220af61abd26cb660febac15ed214479e2ba7 (diff) |
btrfsutil: OldRebuiltForrest: Migrate to consume the new btree.Forrest API
Diffstat (limited to 'lib/btrfsutil/old_rebuilt_forrest.go')
-rw-r--r-- | lib/btrfsutil/old_rebuilt_forrest.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/btrfsutil/old_rebuilt_forrest.go b/lib/btrfsutil/old_rebuilt_forrest.go index a462a60..ae63001 100644 --- a/lib/btrfsutil/old_rebuilt_forrest.go +++ b/lib/btrfsutil/old_rebuilt_forrest.go @@ -179,13 +179,13 @@ func (bt *OldRebuiltForrest) rawTreeWalk(ctx context.Context, treeID btrfsprim.O cacheEntry.RootErr = err return } - root, err := btrfstree.OldLookupTreeRoot(ctx, bt.TreeSearch, *sb, treeID) + root, err := btrfstree.LookupTreeRoot(ctx, bt, *sb, treeID) if err != nil { cacheEntry.RootErr = err return } tree := &btrfstree.RawTree{ - Forrest: btrfstree.TreeOperatorImpl{NodeSource: bt.inner}, + Forrest: btrfstree.RawForrest{NodeSource: bt.inner}, TreeRoot: *root, } |