summaryrefslogtreecommitdiff
path: root/lib/btrfsprogs/btrfsinspect/scanforextents/gaps.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/btrfsprogs/btrfsinspect/scanforextents/gaps.go')
-rw-r--r--lib/btrfsprogs/btrfsinspect/scanforextents/gaps.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/btrfsprogs/btrfsinspect/scanforextents/gaps.go b/lib/btrfsprogs/btrfsinspect/scanforextents/gaps.go
index 90351a5..f67b498 100644
--- a/lib/btrfsprogs/btrfsinspect/scanforextents/gaps.go
+++ b/lib/btrfsprogs/btrfsinspect/scanforextents/gaps.go
@@ -52,7 +52,7 @@ func roundUp[T constraints.Integer](x, multiple T) T {
return ((x + multiple - 1) / multiple) * multiple
}
-func WalkGapsOneDev(ctx context.Context, dev *btrfs.Device,
+func WalkGaps(ctx context.Context,
gaps []PhysicalGap, blockSize btrfsvol.PhysicalAddr,
progress func(cur, total int64),
main func(btrfsvol.PhysicalAddr) error,