/* Removes inode from all trees, drops local name cache and removes all queued requests for object removal.  */
void pohmelfs_inode_del_inode(struct pohmelfs_sb *psb, struct pohmelfs_inode *pi)
/* Removes inode from all trees, drops local name cache and removes all queued requests for object removal.  */
void pohmelfs_inode_del_inode(struct pohmelfs_sb *psb, struct pohmelfs_inode *pi)
{
	mutex_lock(&pi->offset_lock);
	pohmelfs_free_names(pi);
	mutex_unlock(&pi->offset_lock);
	dprintk("%s: deleted stuff in ino: %llu.\n", __func__, pi->ino);
}