iMark cache_data as packed - dedup - deduplicating backup program Err bitreich.org 70 hgit clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ URL:git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ bitreich.org 70 1Log /scm/dedup/log.gph bitreich.org 70 1Files /scm/dedup/files.gph bitreich.org 70 1Refs /scm/dedup/refs.gph bitreich.org 70 1Tags /scm/dedup/tag bitreich.org 70 1README /scm/dedup/file/README.gph bitreich.org 70 1LICENSE /scm/dedup/file/LICENSE.gph bitreich.org 70 i--- Err bitreich.org 70 1commit 4590e214c6140e6d71896c8133120ebc2af287a1 /scm/dedup/commit/4590e214c6140e6d71896c8133120ebc2af287a1.gph bitreich.org 70 1parent 6a723da8930261861bc8eec788c0affc47ae8b3f /scm/dedup/commit/6a723da8930261861bc8eec788c0affc47ae8b3f.gph bitreich.org 70 hAuthor: sin URL:mailto:sin@2f30.org bitreich.org 70 iDate: Wed, 21 Mar 2018 14:54:11 +0000 Err bitreich.org 70 i Err bitreich.org 70 iMark cache_data as packed Err bitreich.org 70 i Err bitreich.org 70 iThis is a filesystem structure so make sure it never changes due to Err bitreich.org 70 ipadding. Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i M dedup.c | 2 +- Err bitreich.org 70 i Err bitreich.org 70 i1 file changed, 1 insertion(+), 1 deletion(-) Err bitreich.org 70 i--- Err bitreich.org 70 1diff --git a/dedup.c b/dedup.c /scm/dedup/file/dedup.c.gph bitreich.org 70 i@@ -38,7 +38,7 @@ struct blk { Err bitreich.org 70 i struct cache_data { Err bitreich.org 70 i unsigned char md[SHA256_DIGEST_LENGTH]; Err bitreich.org 70 i uint64_t blkidx; Err bitreich.org 70 i-}; Err bitreich.org 70 i+} __attribute__((packed)); Err bitreich.org 70 i Err bitreich.org 70 i struct cache_ent { Err bitreich.org 70 i struct cache_data data; Err bitreich.org 70 .