/* Symlink-specific fields */
gchar *symlink_contents;
+
+ /* A field for short-term use internally while the lock is held. */
+ gpointer private_data;
} BlueSkyInode;
/* A directory entry. The name is UTF-8 and is a freshly-allocated string.
{
BlueSkyInode *inode = (BlueSkyInode *)a;
+ bluesky_profile_set((BlueSkyProfile *)inode->private_data);
+
BlueSkyCloudLog *item = inode->committed_item;
inode->committed_item = NULL;
g_print("Completing fetch of inode %"PRIu64"...\n", inode->inum);
bluesky_cloudlog_ref(entry->item);
bluesky_insert_inode(fs, inode);
+ inode->private_data = bluesky_profile_get();
g_thread_pool_push(fs->inode_fetch_thread_pool, inode, NULL);
}