/* Create response, just marks local inode as 'created', so that writeback for any of its children (or own) would not try to sync it again.  */
static int pohmelfs_create_response(struct netfs_state *st)
/* Create response, just marks local inode as 'created', so that writeback for any of its children (or own) would not try to sync it again.  */
static int pohmelfs_create_response(struct netfs_state *st)
{
	struct inode *inode;
	struct netfs_cmd *cmd = &st->cmd;
	struct pohmelfs_inode *pi;
	inode = ilookup(st->psb->sb, cmd->id);
	if (!inode) {
		printk("%s: failed to find inode: id: %llu, start: %llu.\n",
				__func__, cmd->id, cmd->start);
		goto err_out_exit;
	}
	pi = POHMELFS_I(inode);
	if (cmd->start)
		make_bad_inode(inode);
	set_bit(NETFS_INODE_REMOTE_SYNCED, &pi->state);
	pohmelfs_put_inode(pi);
	wake_up(&st->psb->wait);
	return 0;
err_out_exit:
	wake_up(&st->psb->wait);
	return -ENOENT;
}