Moved lfsr_ecksum_t back into lfs.c

Now that becksums were proven to not work, we don't need this in lfs.h
anymore.
This commit is contained in:
Christopher Haster
2024-05-02 01:57:18 -05:00
parent ab2a1cb571
commit 45a4e9ffb4
2 changed files with 22 additions and 22 deletions
+7
View File
@@ -1754,6 +1754,13 @@ typedef struct lfsr_tinfo {
//#endif
// erased-state checksum
typedef struct lfsr_ecksum {
// cksize=-1 indicates no ecksum
lfs_ssize_t cksize;
uint32_t cksum;
} lfsr_ecksum_t;
// erased-state checksum on-disk encoding
// ecksum encoding: