*/
const char *yaffs_guts_c_version =
- "$Id: yaffs_guts.c,v 1.27 2005-12-20 04:02:18 charles Exp $";
+ "$Id: yaffs_guts.c,v 1.28 2006-02-02 22:14:44 charles Exp $";
#include "yportenv.h"
static Y_INLINE int yaffs_HashFunction(int n)
{
+ n = abs(n);
return (n % YAFFS_NOBJECT_BUCKETS);
}