diff options
Diffstat (limited to 'lib/btrfsprogs/btrfsinspect')
-rw-r--r-- | lib/btrfsprogs/btrfsinspect/scandevices.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/btrfsprogs/btrfsinspect/scandevices.go b/lib/btrfsprogs/btrfsinspect/scandevices.go index c25a86f..87dcedf 100644 --- a/lib/btrfsprogs/btrfsinspect/scandevices.go +++ b/lib/btrfsprogs/btrfsinspect/scandevices.go @@ -21,7 +21,6 @@ import ( "git.lukeshu.com/btrfs-progs-ng/lib/btrfs/btrfssum" "git.lukeshu.com/btrfs-progs-ng/lib/btrfs/btrfstree" "git.lukeshu.com/btrfs-progs-ng/lib/btrfs/btrfsvol" - "git.lukeshu.com/btrfs-progs-ng/lib/btrfsprogs/btrfsutil" ) type ScanDevicesResult map[btrfsvol.DeviceID]ScanOneDeviceResult @@ -126,7 +125,7 @@ func ScanOneDevice(ctx context.Context, dev *btrfs.Device, sb btrfstree.Superblo pos := btrfsvol.PhysicalAddr(i * btrfssum.BlockSize) progress(pos) - sum, err := btrfsutil.ChecksumPhysical(dev, alg, pos) + sum, err := btrfs.ChecksumPhysical(dev, alg, pos) if err != nil { return result, err } |