summaryrefslogtreecommitdiff
path: root/lib/btrfsutil/old_rebuilt_forrest.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-03-13 18:49:47 -0600
committerLuke Shumaker <lukeshu@lukeshu.com>2023-03-19 00:44:12 -0400
commit0d6880131e90b43e03e0878dfc2ea2b6f0f2291e (patch)
treeb05e9ede108bbb331bf3b111fac729e35b5a4e51 /lib/btrfsutil/old_rebuilt_forrest.go
parent0f96c9ce920875babd4cd23819a2fb2960dc0cc6 (diff)
btrfstree: Have LookupTreeRoot take a Context
Diffstat (limited to 'lib/btrfsutil/old_rebuilt_forrest.go')
-rw-r--r--lib/btrfsutil/old_rebuilt_forrest.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/btrfsutil/old_rebuilt_forrest.go b/lib/btrfsutil/old_rebuilt_forrest.go
index abe3329..8ae7149 100644
--- a/lib/btrfsutil/old_rebuilt_forrest.go
+++ b/lib/btrfsutil/old_rebuilt_forrest.go
@@ -153,7 +153,7 @@ func (bt *OldRebuiltForrest) rawTreeWalk(treeID btrfsprim.ObjID, cacheEntry *old
cacheEntry.RootErr = err
return
}
- root, err := btrfstree.LookupTreeRoot(bt, *sb, treeID)
+ root, err := btrfstree.LookupTreeRoot(bt.ctx, bt, *sb, treeID)
if err != nil {
cacheEntry.RootErr = err
return