diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2022-08-18 01:55:32 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2022-08-18 01:57:43 -0600 |
commit | 45494a8d80e4c78144b653044b55f8572e12e67d (patch) | |
tree | 417d22998e42bb79c5e40f0ca421d06b0d3dc43e /lib/btrfsprogs/btrfsinspect/csums.go | |
parent | ee0d8981e501c86774f3ec45466d3273464921e8 (diff) |
Work on the scandevices output
Diffstat (limited to 'lib/btrfsprogs/btrfsinspect/csums.go')
-rw-r--r-- | lib/btrfsprogs/btrfsinspect/csums.go | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/btrfsprogs/btrfsinspect/csums.go b/lib/btrfsprogs/btrfsinspect/csums.go index 6335cb9..e690d24 100644 --- a/lib/btrfsprogs/btrfsinspect/csums.go +++ b/lib/btrfsprogs/btrfsinspect/csums.go @@ -103,12 +103,9 @@ type SumRun[Addr btrfsvol.IntAddr[Addr]] struct { // How big a ShortSum is in this Run. ChecksumSize int // Base address where this run starts. - Addr Addr + Addr Addr `json:",omitempty"` // All of the ShortSums in this run, concatenated together. - // - // This is a 'string' rather than a 'ShortSum' to make it hard - // to accidentally use it as a single sum. - Sums string + Sums ShortSum } func (run SumRun[Addr]) NumSums() int { |