Add an inode map data structure to track the location of inodes in logs.
[bluesky.git] / bluesky / inode.c
index 8748164..a79bcc1 100644 (file)
@@ -89,6 +89,7 @@ BlueSkyFS *bluesky_new_fs(gchar *name)
     fs->flushd_cond = g_cond_new();
     fs->locations = g_hash_table_new(bluesky_cloudlog_hash,
                                      bluesky_cloudlog_equal);
+    fs->inode_map = g_sequence_new(NULL);
 
     fs->log_state = g_new0(BlueSkyCloudLogState, 1);
     fs->log_state->data = g_string_new("");