ref: 3619a9bf8dc0ed957cbd85b00f4bd050dfb97013
parent: 23f1e3e4b945aae087aa98825a67ea64a92cf17a
author: Michael Forney <mforney@mforney.org>
date: Thu Feb 3 05:54:15 EST 2022
fs: fix incorrect fid hash when highest bit is set Other functions using fidtab zero-extend fid before hashing, so we need to do the same in dupfid to make sure we hash to the same slot.
--- a/fs.c
+++ b/fs.c
@@ -444,7 +444,7 @@
}
static Fid*
-dupfid(int new, Fid *f)
+dupfid(u32int new, Fid *f)
{
Fid *n, *o;
u32int h;