tPut some reserved fields in struct ent for better alignment - dedup - deduplicating backup program
(HTM) git clone git://git.z3bra.org/dedup.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 2133dd9a0b1eb34bb850d868da0f4c209aa8cc53
(DIR) parent 44ce796d4a5c9a22d136f4f4c37596254d70bee3
(HTM) Author: sin <sin@2f30.org>
Date: Tue, 20 Mar 2018 18:15:35 +0000
Put some reserved fields in struct ent for better alignment
Diffstat:
M dedup.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
(DIR) diff --git a/dedup.c b/dedup.c
t@@ -20,6 +20,7 @@ struct enthdr {
struct ent {
uint64_t sz; /* size of entire entry structure */
+ unsigned char reserved[7];
unsigned char md[SHA256_DIGEST_LENGTH];
uint64_t nblks;
uint64_t blks[];