diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2022-08-18 02:45:08 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2022-08-18 04:17:43 -0600 |
commit | 0de4afc4da432d5f3e4076859adcda75f2bdd5ba (patch) | |
tree | ee736bee6e4ff629e4db7984a523247b9e980671 /lib/btrfsprogs/btrfsinspect/scandevices.go | |
parent | 96051aae4e41df836f956926ed57310f8dad4a5f (diff) |
ScanOneDevice: Drop SysExtentSCSum's key, it's superfluous now
Diffstat (limited to 'lib/btrfsprogs/btrfsinspect/scandevices.go')
-rw-r--r-- | lib/btrfsprogs/btrfsinspect/scandevices.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/btrfsprogs/btrfsinspect/scandevices.go b/lib/btrfsprogs/btrfsinspect/scandevices.go index 33790df..fbe238b 100644 --- a/lib/btrfsprogs/btrfsinspect/scandevices.go +++ b/lib/btrfsprogs/btrfsinspect/scandevices.go @@ -72,7 +72,6 @@ type SysDevExtent struct { } type SysExtentCSum struct { - Key btrfs.Key Generation btrfs.Generation Sums btrfsitem.ExtentCSum } @@ -200,7 +199,6 @@ func ScanOneDevice(ctx context.Context, dev *btrfs.Device, sb btrfs.Superblock) //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, }) |