sunrpc: align cache_clean work's timer
Subsystems (4)
PATCH 2/2 sunrpc: align cache_clean work's timer
From: Anton Blanchard <[email protected]>
Align cache_clean work.
Signed-off-by Anton Blanchard <[email protected]>
Cc Neil Brown <[email protected]>
Cc Trond Myklebust <[email protected]>
Cc "David S. Miller" <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
net/sunrpc/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/sunrpc/cache.c renamed from net/sunrpc/cache.c~sunrpc-align-cache_clean-works-timer +1 -1
@@ -488,7 +488,7 @@ static void do_cache_clean(struct work_s {int delay =5 ;if (cache_clean () ==-1 ) - delay =30 *HZ ; + delay =round_jiffies_relative (30 *HZ );if (list_empty (&cache_list)) delay =0 ;
_