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:
parent
8ab82a5fe1
commit
a92784dd70
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user