summaryrefslogtreecommitdiff
path: root/lib/btrfsprogs/btrfsinspect/scandevices.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2022-12-23 22:34:04 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2022-12-24 04:31:50 -0700
commitf72d881090d5a806cbbc5b3c3fc66683a28474fd (patch)
tree631af524ff39579c53d9abfb129fe3e1f0d1545a /lib/btrfsprogs/btrfsinspect/scandevices.go
parentce1ea3ba56fb7738b4ca567930e357473991e7dd (diff)
Revert "scandevices: Include a Key in SysExtentCSum"
This reverts commit a71e1969a1b24500ce9885c4a3f1aeee40c421a8.
Diffstat (limited to 'lib/btrfsprogs/btrfsinspect/scandevices.go')
-rw-r--r--lib/btrfsprogs/btrfsinspect/scandevices.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/btrfsprogs/btrfsinspect/scandevices.go b/lib/btrfsprogs/btrfsinspect/scandevices.go
index 4834826..b6c929b 100644
--- a/lib/btrfsprogs/btrfsinspect/scandevices.go
+++ b/lib/btrfsprogs/btrfsinspect/scandevices.go
@@ -75,7 +75,6 @@ type SysDevExtent struct {
}
type SysExtentCSum struct {
- Key btrfsprim.Key
Generation btrfsprim.Generation
Sums btrfsitem.ExtentCSum
}
@@ -227,7 +226,6 @@ func ScanOneDevice(ctx context.Context, dev *btrfs.Device, sb btrfstree.Superblo
//dlog.Tracef(ctx, "... dev[%q] node@%v: item %v: found csums",
// dev.Name(), nodeRef.Addr, i)
result.FoundExtentCSums = append(result.FoundExtentCSums, SysExtentCSum{
- Key: item.Key,
Generation: nodeRef.Data.Head.Generation,
Sums: sums,
})