diff options
Diffstat (limited to 'cmd/btrfs-rec/inspect_recoverchunks.go')
-rw-r--r-- | cmd/btrfs-rec/inspect_recoverchunks.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/btrfs-rec/inspect_recoverchunks.go b/cmd/btrfs-rec/inspect_recoverchunks.go index bc32248..4314b66 100644 --- a/cmd/btrfs-rec/inspect_recoverchunks.go +++ b/cmd/btrfs-rec/inspect_recoverchunks.go @@ -44,7 +44,7 @@ func init() { for _, dev := range fs.LV.PhysicalVolumes() { dlog.Infof(ctx, "dev[%q] Scanning for unreachable nodes...", dev.Name()) - devResult, err := btrfsinspect.ScanOneDev(ctx, dev, superblock.Data) + devResult, err := btrfsinspect.ScanOneDev(ctx, dev, *superblock) if err != nil { return err } |