fs->name = g_strdup(name);
return fs;
}
+ bluesky_string_unref(data);
}
g_print("Initializing fresh filesystem\n");
if (inode != NULL) {
bluesky_inode_ref(inode);
+
+ /* FIXME: We assume we can atomically update the in-memory access time
+ * without a lock. */
+ inode->access_time = bluesky_get_current_time();
}
g_mutex_unlock(fs->lock);
if (bluesky_options.sync_inode_fetches) {
bluesky_store_async_wait(async);
}
+
+ bluesky_store_async_unref(async);
}
/* Synchronize filesystem superblock to stable storage. */