summaryrefslogtreecommitdiff
path: root/lib/btrfsutil/old_rebuilt_forrest.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-04-16 23:51:14 -0600
committerLuke Shumaker <lukeshu@lukeshu.com>2023-04-17 01:49:08 -0600
commit9814752ef68aa9ef377a4a939bc83d2409d4fcef (patch)
treefdca0ba1ab233bb3d8ebe3b9121dd9576655973e /lib/btrfsutil/old_rebuilt_forrest.go
parent4adcf5f67965bf355cc7e16ec11e2293c2506700 (diff)
btrfstree: Path.NodeExpectations(): Drop the ability to fail open
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 b03ddc2..a23278c 100644
--- a/lib/btrfsutil/old_rebuilt_forrest.go
+++ b/lib/btrfsutil/old_rebuilt_forrest.go
@@ -190,7 +190,7 @@ func (bt *OldRebuiltForrest) rawTreeWalk(ctx context.Context, treeID btrfsprim.O
var curNode oldRebuiltNodeInfo
cbs := btrfstree.TreeWalkHandler{
BadNode: func(path btrfstree.Path, node *btrfstree.Node, err error) bool {
- nodeAddr, nodeExp, _ := path.NodeExpectations(ctx, false)
+ nodeAddr, nodeExp, _ := path.NodeExpectations(ctx)
cacheEntry.Errors.Insert(oldRebuiltTreeError{
Min: nodeExp.MinItem.Val,
Max: nodeExp.MaxItem.Val,