/* ASCII case-insensitive (ie. A-Z) support for directories that was used in IRIX.  */
STATIC xfs_dahash_t xfs_ascii_ci_hashname(struct xfs_name *name)
/* ASCII case-insensitive (ie. A-Z) support for directories that was used in IRIX.  */
STATIC xfs_dahash_t xfs_ascii_ci_hashname(struct xfs_name *name)
{
	xfs_dahash_t	hash;
	int		i;
	for (i = 0, hash = 0; i < name->len; i++)
		hash = tolower(name->name[i]) ^ rol32(hash, 7);
	return hash;
}