iPull out cache dirty assignment - 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 db2431b5cc0b4c4d51ac809ff846145069d6e2cb /scm/dedup/commit/db2431b5cc0b4c4d51ac809ff846145069d6e2cb.gph bitreich.org 70 1parent 34a8535a294fbf33ed054eea3f960dda55a1e720 /scm/dedup/commit/34a8535a294fbf33ed054eea3f960dda55a1e720.gph bitreich.org 70 hAuthor: sin URL:mailto:sin@2f30.org bitreich.org 70 iDate: Mon, 25 Feb 2019 15:02:27 +0000 Err bitreich.org 70 i Err bitreich.org 70 iPull out cache dirty assignment 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@@ -387,10 +387,10 @@ rebuild_cache(struct snapshot *snap, void *arg) Err bitreich.org 70 i memcpy(cache_entry.md, blk_desc->md, sizeof(cache_entry.md)); Err bitreich.org 70 i cache_entry.offset = blk_desc->offset; Err bitreich.org 70 i cache_entry.size = blk_desc->size; Err bitreich.org 70 i- cache_dirty = 1; Err bitreich.org 70 i add_cache_entry(cache, &cache_entry); Err bitreich.org 70 i } Err bitreich.org 70 i free(buf); Err bitreich.org 70 i+ cache_dirty = 1; Err bitreich.org 70 i return WALK_CONTINUE; Err bitreich.org 70 i } Err bitreich.org 70 i Err bitreich.org 70 .