diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2022-07-02 16:42:13 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2022-07-02 17:04:11 -0600 |
commit | cd46b6b734d833a9e2d83ba92e8f7348e63afe7e (patch) | |
tree | 929fc86215381fe43927894d86869e0c17d808c8 /pkg/btrfs/types_node.go | |
parent | 9ddcd2c3ed2f85247161c5ffa653f33e6a01a9cd (diff) |
implement EXTENT_CSUM
Diffstat (limited to 'pkg/btrfs/types_node.go')
-rw-r--r-- | pkg/btrfs/types_node.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/btrfs/types_node.go b/pkg/btrfs/types_node.go index 24a02e5..8aafc49 100644 --- a/pkg/btrfs/types_node.go +++ b/pkg/btrfs/types_node.go @@ -266,7 +266,7 @@ func (node *Node) unmarshalLeaf(bodyBuf []byte) (int, error) { } tail = dataOff dataBuf := bodyBuf[dataOff : dataOff+dataSize] - item.Body = btrfsitem.UnmarshalItem(item.Head.Key, dataBuf) + item.Body = btrfsitem.UnmarshalItem(item.Head.Key, node.ChecksumType, dataBuf) node.BodyLeaf = append(node.BodyLeaf, item) } |