commit 4d371b72c4b61c4e74b37469e842ab94a641e96f
parent 93e2b902f983dd2475a9883f5cd338fb67257c5f
Author: sin <sin@2f30.org>
Date: Wed, 6 Mar 2019 14:50:44 +0000
Rename load_cache to build_cache
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dedup.c b/dedup.c
@@ -393,7 +393,7 @@ check_snap(struct snapshot *snap, void *arg)
}
static int
-load_cache(struct snapshot *snap, void *arg)
+build_cache(struct snapshot *snap, void *arg)
{
uint8_t *buf;
uint64_t i;
@@ -541,7 +541,7 @@ init(int iflag)
}
cache = alloc_cache();
- walk_snap(load_cache, NULL);
+ walk_snap(build_cache, NULL);
}
static void