Move the inode's stored checksum out of struct Inode, return it as a separate value from Inode::read_bytes instead.
Add checksum_base to Inode, this is a seed used for the inode itself as well as extents and dir blocks. Update the code in other places to make use of this new field.
struct Inode
, return it as a separate value fromInode::read_bytes
instead.checksum_base
toInode
, this is a seed used for the inode itself as well as extents and dir blocks. Update the code in other places to make use of this new field.