-/* Read the given block from cloud-backed storage if the data is not already
- * cached. */
-static void block_fetch_completion(BlueSkyStoreAsync *async, gpointer data)
-{
- BlueSkyBlock *block = (BlueSkyBlock *)data;
-
- bluesky_string_unref(block->data);
- block->data = async->data;
- bluesky_string_ref(block->data);
-
- if (block->data == NULL) {
- g_warning("Failed to fetch data block from store!\n");
- block->data = bluesky_string_new(g_malloc0(BLUESKY_BLOCK_SIZE),
- BLUESKY_BLOCK_SIZE);
- }
-
- block->type = BLUESKY_BLOCK_CACHED;
-}
-
-void bluesky_block_fetch(BlueSkyFS *fs, BlueSkyBlock *block,