shithub: gefs

Download patch

ref: f838f62612013c23c4f24d60146e886fd46b33e8
parent: 6a29a24d16830a70a113d0d32934059434a078d4
author: Ori Bernstein <ori@eigenstate.org>
date: Wed Oct 26 00:07:03 EDT 2022

blk: style nit

--- a/blk.c
+++ b/blk.c
@@ -134,9 +134,7 @@
 {
 	int n;
 
-	n = hint;
-	n += tries;
-	n += ainc(&fs->roundrobin)/(1024*1024);
+	n = tries + hint + ainc(&fs->roundrobin)/1024;
 	return &fs->arenas[n%fs->narena];
 }