diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2023-01-02 18:26:51 -0700 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2023-01-05 19:48:17 -0700 |
commit | 7ba1804756b43359a8b85e601b3836c8c4aac6cf (patch) | |
tree | 16678c492694de0fe4d0c1b9961f21c2418533c5 /lib/btrfsprogs/btrfsinspect/rebuildnodes/btrees | |
parent | 06157a3a8259bb0fc5f806aac3bbde79e95a54fd (diff) |
rebuildnodes/btrees: Fix logging of the add-tree stack
Diffstat (limited to 'lib/btrfsprogs/btrfsinspect/rebuildnodes/btrees')
-rw-r--r-- | lib/btrfsprogs/btrfsinspect/rebuildnodes/btrees/forrest.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/btrfsprogs/btrfsinspect/rebuildnodes/btrees/forrest.go b/lib/btrfsprogs/btrfsinspect/rebuildnodes/btrees/forrest.go index de21d9a..6bfa297 100644 --- a/lib/btrfsprogs/btrfsinspect/rebuildnodes/btrees/forrest.go +++ b/lib/btrfsprogs/btrfsinspect/rebuildnodes/btrees/forrest.go @@ -150,7 +150,7 @@ func (ts *RebuiltForrest) addTree(ctx context.Context, treeID btrfsprim.ObjID, s if !ok { return false } - if !ts.addTree(ctx, parentID, append(stack, treeID)) { + if !ts.addTree(ctx, parentID, stack) { return false } tree.Parent, _ = ts.trees.Load(parentID) |