Put some reserved fields in struct ent for better alignment - dedup - deduplicating backup program
HTML git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit 2133dd9a0b1eb34bb850d868da0f4c209aa8cc53
DIR parent 44ce796d4a5c9a22d136f4f4c37596254d70bee3
HTML 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
@@ -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[];