From 4149c4275ffb53dd60d83225b0371fc80642c549 Mon Sep 17 00:00:00 2001 From: Nathan Fisher Date: Thu, 17 Aug 2023 23:28:25 -0400 Subject: [PATCH] Left comment note for required functionality --- linkmap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linkmap.c b/linkmap.c index a9decb6..f7357f6 100644 --- a/linkmap.c +++ b/linkmap.c @@ -111,5 +111,7 @@ char* haggis_linkmap_get_or_add(haggis_linkmap *map, ino_t inode, char * path) { pthread_mutex_unlock(map->mutex); return target; } + // todo: if buckets[idx] has a different value stored, loop until we find an + // empty slot or a slot with the correct value (whichever is first) return NULL; }