diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2023-04-17 02:05:51 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2023-04-17 02:05:51 -0600 |
commit | 4efa228eb104145bb0750fb68c0d9493dc5854d5 (patch) | |
tree | 1dbcbd104be9e1034037a2d43b5927b1b61c08d6 /cmd/btrfs-rec | |
parent | 4adcf5f67965bf355cc7e16ec11e2293c2506700 (diff) | |
parent | f262c7bbc72796ae36b7e40dc38ab7167d138d5b (diff) |
Merge branch 'lukeshu/rebuilt-v2-pt2-lax-parents'
Diffstat (limited to 'cmd/btrfs-rec')
-rw-r--r-- | cmd/btrfs-rec/inspect/rebuildtrees/rebuild.go | 2 | ||||
-rw-r--r-- | cmd/btrfs-rec/main.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/btrfs-rec/inspect/rebuildtrees/rebuild.go b/cmd/btrfs-rec/inspect/rebuildtrees/rebuild.go index 77d56ae..aeb6751 100644 --- a/cmd/btrfs-rec/inspect/rebuildtrees/rebuild.go +++ b/cmd/btrfs-rec/inspect/rebuildtrees/rebuild.go @@ -85,7 +85,7 @@ func NewRebuilder(ctx context.Context, fs *btrfs.FS, nodeList []btrfsvol.Logical o := &rebuilder{ scan: scanData, } - o.rebuilt = btrfsutil.NewRebuiltForrest(fs, scanData.Graph, forrestCallbacks{o}) + o.rebuilt = btrfsutil.NewRebuiltForrest(fs, scanData.Graph, forrestCallbacks{o}, false) return o, nil } diff --git a/cmd/btrfs-rec/main.go b/cmd/btrfs-rec/main.go index 26857f0..ad768de 100644 --- a/cmd/btrfs-rec/main.go +++ b/cmd/btrfs-rec/main.go @@ -224,7 +224,7 @@ func _runWithReadableFS(wantNodeList bool, runE func(btrfs.ReadableFS, []btrfsvo return err } - rfs = btrfsutil.NewRebuiltForrest(fs, graph, nil) + rfs = btrfsutil.NewRebuiltForrest(fs, graph, nil, true) } return runE(rfs, nodeList, cmd, args) |