commit 70419f3b398b66759459cad16625254b7c1fdab8
parent 40304d4ee61fc2ec12e4a1b6c360f0ae34716625
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:
1 file changed, 0 insertions(+), 3 deletions(-)
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 */