ref: 7a363ec62017a3484e79eb406d48f2008705bc53
parent: f76ca1de77fb595a5592813bf52704ea670ce21a
author: Ori Bernstein <[email protected]>
date: Tue Dec 19 22:49:56 EST 2023
fs: work around vlong silliness
--- a/fs.c
+++ b/fs.c
@@ -2217,7 +2217,9 @@
a = &fs->arenas[i];
qlock(a);
if(a->nlog < a->reserve/(10*Blksz)){
- oldhd[i] = (Bptr){-1, -1, -1};
+ oldhd[i].addr = -1;
+ oldhd[i].hash = -1;
+ oldhd[i].gen = -1; //(Bptr){-1, -1, -1};
qunlock(a);
continue;
}