[PATCH] Align cache_clean work

From: Anton Blanchard
Date: Wed Apr 01 2009 - 06:50:50 EST



Align cache_clean work.

Signed-off-by: Anton Blanchard <anton@xxxxxxxxx>
---

Index: linux-2.6/net/sunrpc/cache.c
===================================================================
--- linux-2.6.orig/net/sunrpc/cache.c 2009-04-01 15:47:38.000000000 +1100
+++ linux-2.6/net/sunrpc/cache.c 2009-04-01 16:32:44.000000000 +1100
@@ -488,7 +488,7 @@
{
int delay = 5;
if (cache_clean() == -1)
- delay = 30*HZ;
+ delay = round_jiffies_relative(30*HZ);

if (list_empty(&cache_list))
delay = 0;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/