summaryrefslogtreecommitdiff
path: root/apps/tagcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tagcache.c')
-rw-r--r--apps/tagcache.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c
index 47786ad787..77cded88b7 100644
--- a/apps/tagcache.c
+++ b/apps/tagcache.c
@@ -3190,6 +3190,7 @@ static void tagcache_thread(void)
3190#endif 3190#endif
3191 } 3191 }
3192 3192
3193 logf("tagcache check done");
3193 check_done = true; 3194 check_done = true;
3194 break ; 3195 break ;
3195 3196
@@ -3281,9 +3282,7 @@ bool tagcache_is_ramcache(void)
3281 3282
3282void tagcache_init(void) 3283void tagcache_init(void)
3283{ 3284{
3284 stat.initialized = false; 3285 memset(&stat, 0, sizeof(struct tagcache_stat));
3285 stat.ready = false;
3286 stat.commit_step = 0;
3287 filenametag_fd = -1; 3286 filenametag_fd = -1;
3288 current_serial = 0; 3287 current_serial = 0;
3289 3288