Calculate data crc32c

This commit is contained in:
Vitaliy Filippov
2019-11-27 02:20:38 +03:00
parent 9568354d78
commit 74d8ea2f01
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -40,7 +40,8 @@ struct __attribute__((__packed__)) journal_entry_small_write
// small_write entries contain <len> bytes of data which is stored in next sectors
// data_offset is its offset within journal
uint64_t data_offset;
// FIXME add & verify data crc32c
uint32_t crc32_data;
// FIXME verify data crc32c
};
struct __attribute__((__packed__)) journal_entry_big_write