/* Returns: The wanted inode number on success, else Zero.  */
static ino_t vxfs_inode_by_name(struct inode *dip, struct dentry *dp)
/* Returns: The wanted inode number on success, else Zero.  */
static ino_t vxfs_inode_by_name(struct inode *dip, struct dentry *dp)
{
	struct vxfs_direct		*de;
	struct page			*pp;
	ino_t				ino = 0;
	de = vxfs_find_entry(dip, dp, &pp);
	if (de) {
		ino = de->d_ino;
		kunmap(pp);
		page_cache_release(pp);
	}
	return (ino);
}