/* Simple hash function. Needs to have a reasonable spread  */
static Y_INLINE int yaffs_HashFunction(int n)
/* Simple hash function. Needs to have a reasonable spread  */
static Y_INLINE int yaffs_HashFunction(int n)
{
	if (n < 0)
		n = -n;
	return (n % YAFFS_NOBJECT_BUCKETS);
}