ext2fs: make the hashing algorithm match the linux code.

There appears to be a hash function compatibility issue.
The code is currently disabled but fix it nevertheless.

PR:		kern/183230
MFC after:	3 days
This commit is contained in:
pfg 2013-12-23 19:47:34 +00:00
parent 8ab82a5fe1
commit a92784dd70

View File

@ -289,8 +289,8 @@ ext2_htree_hash(const char *name, int len,
len -= 32;
name += 32;
}
major = hash[0];
minor = hash[1];
major = hash[1];
minor = hash[2];
break;
default:
goto error;