[ostree] deltas: Make min-fallback-size 0 actually disable fallbacks
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] deltas: Make min-fallback-size 0 actually disable fallbacks
- Date: Tue, 10 Nov 2015 08:53:29 +0000 (UTC)
commit b22b859dc522d08188213ddfae6bf91de027d51f
Author: Alexander Larsson <alexl redhat com>
Date: Fri Oct 16 11:03:53 2015 +0200
deltas: Make min-fallback-size 0 actually disable fallbacks
This is what the docs specify.
.../ostree-repo-static-delta-compilation.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libostree/ostree-repo-static-delta-compilation.c
b/src/libostree/ostree-repo-static-delta-compilation.c
index 3fe856b..d327d26 100644
--- a/src/libostree/ostree-repo-static-delta-compilation.c
+++ b/src/libostree/ostree-repo-static-delta-compilation.c
@@ -1085,7 +1085,7 @@ generate_delta_lowlatency (OstreeRepo *repo,
NULL, &uncompressed_size,
cancellable, error))
goto out;
- if (builder->min_fallback_size_bytes >= 0 &&
+ if (builder->min_fallback_size_bytes > 0 &&
uncompressed_size > builder->min_fallback_size_bytes)
fallback = TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]