t3311: use test_commit_bulk
[gitweb.git] / preload-index.c
index e73600ee7841a299e060369ca9eecf46d5a7fb0f..ed6eaa47388af8d33398e7c9652c622030e75147 100644 (file)
@@ -78,7 +78,7 @@ static void *preload_thread(void *_data)
                if (ie_match_stat(index, ce, &st, CE_MATCH_RACY_IS_DIRTY|CE_MATCH_IGNORE_FSMONITOR))
                        continue;
                ce_mark_uptodate(ce);
-               mark_fsmonitor_valid(ce);
+               mark_fsmonitor_valid(index, ce);
        } while (--nr > 0);
        if (p->progress) {
                struct progress_data *pd = p->progress;