/* Insert new name cache entry into all hash cache.  */
static int pohmelfs_insert_name(struct pohmelfs_inode *parent, struct pohmelfs_name *n)
/* Insert new name cache entry into all hash cache.  */
static int pohmelfs_insert_name(struct pohmelfs_inode *parent, struct pohmelfs_name *n)
{
	struct pohmelfs_name *name;
	name = pohmelfs_insert_hash(parent, n);
	if (name)
		return -EEXIST;
	parent->total_len += n->len;
	list_add_tail(&n->sync_create_entry, &parent->sync_create_list);
	return 0;
}