diff options
Diffstat (limited to 'cmd/btrfs-rec/inspect_scanfornodes.go')
-rw-r--r-- | cmd/btrfs-rec/inspect_scanfornodes.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/btrfs-rec/inspect_scanfornodes.go b/cmd/btrfs-rec/inspect_scanfornodes.go index 9dbc3a5..8ddf1fd 100644 --- a/cmd/btrfs-rec/inspect_scanfornodes.go +++ b/cmd/btrfs-rec/inspect_scanfornodes.go @@ -46,6 +46,7 @@ func init() { results := make(map[btrfsvol.DeviceID]btrfsinspect.ScanOneDevResult) grp := dgroup.NewGroup(ctx, dgroup.GroupConfig{}) for _, dev := range fs.LV.PhysicalVolumes() { + dev := dev grp.Go(dev.Name(), func(ctx context.Context) error { superblock, err := dev.Superblock() if err != nil { |