No need to call bssync() from bsclose() - 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 70419f3b398b66759459cad16625254b7c1fdab8
DIR parent 40304d4ee61fc2ec12e4a1b6c360f0ae34716625
HTML Author: sin <sin@2f30.org>
Date: Fri, 3 May 2019 13:17:53 +0100
No need to call bssync() from bsclose()
The top level bclose() will trigger a sync() sequence.
Diffstat:
M bstorage.c | 3 ---
1 file changed, 0 insertions(+), 3 deletions(-)
---
DIR diff --git a/bstorage.c b/bstorage.c
@@ -697,9 +697,6 @@ bsclose(struct bctx *bctx)
struct bd *bd, *tmp;
int r;
- if (bssync(bctx) < 0)
- return -1;
-
sctx = bctx->sctx;
/* Free block descriptor cache */