/* Convenience function for callers which just want the block number mapped to a name and don't require the full dirent info, etc.  */
int ocfs2_lookup_ino_from_name(struct inode *dir, const char *name, int namelen, u64 *blkno)
/* Convenience function for callers which just want the block number mapped to a name and don't require the full dirent info, etc.  */
int ocfs2_lookup_ino_from_name(struct inode *dir, const char *name, int namelen, u64 *blkno)
{
	int ret;
	struct ocfs2_dir_lookup_result lookup = { NULL, };
	ret = ocfs2_find_files_on_disk(name, namelen, blkno, dir, &lookup);
	ocfs2_free_dir_lookup_result(&lookup);
	return ret;
}