diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2023-03-13 18:49:47 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2023-03-19 00:44:12 -0400 |
commit | 0d6880131e90b43e03e0878dfc2ea2b6f0f2291e (patch) | |
tree | b05e9ede108bbb331bf3b111fac729e35b5a4e51 /lib/btrfsutil/old_rebuilt_forrest.go | |
parent | 0f96c9ce920875babd4cd23819a2fb2960dc0cc6 (diff) |
btrfstree: Have LookupTreeRoot take a Context
Diffstat (limited to 'lib/btrfsutil/old_rebuilt_forrest.go')
-rw-r--r-- | lib/btrfsutil/old_rebuilt_forrest.go | 2 |
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 |