diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2023-04-01 11:31:57 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2023-04-02 22:40:13 -0600 |
commit | 45887ffb33530e4cfde6d615b3d67f4787c4bede (patch) | |
tree | 28fb9ecceca73709832d63c6ef9f9b1dd8f58391 /cmd/btrfs-rec | |
parent | 20de3140073547344d159a65db1a7e5c90ef95e9 (diff) |
cmd/btrfs-rec: ls-trees: Don't prevent bad nodes from being lost+found
Diffstat (limited to 'cmd/btrfs-rec')
-rw-r--r-- | cmd/btrfs-rec/inspect_lstrees.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd/btrfs-rec/inspect_lstrees.go b/cmd/btrfs-rec/inspect_lstrees.go index 0eb45ba..24622b4 100644 --- a/cmd/btrfs-rec/inspect_lstrees.go +++ b/cmd/btrfs-rec/inspect_lstrees.go @@ -79,8 +79,6 @@ func init() { visitedNodes.Insert(node.Head.Addr) }, BadNode: func(path btrfstree.Path, node *btrfstree.Node, err error) bool { - nodeAddr, _, _ := path.NodeExpectations(ctx, false) - visitedNodes.Insert(nodeAddr) treeErrCnt++ return false }, |