diff options
-rw-r--r-- | net/sunrpc/cache.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/sunrpc/cache.c b/net/sunrpc/cache.c index 4d8e11f94a35..8aabe12201f8 100644 --- a/net/sunrpc/cache.c +++ b/net/sunrpc/cache.c | |||
@@ -353,7 +353,7 @@ void sunrpc_init_cache_detail(struct cache_detail *cd) | |||
353 | spin_unlock(&cache_list_lock); | 353 | spin_unlock(&cache_list_lock); |
354 | 354 | ||
355 | /* start the cleaning process */ | 355 | /* start the cleaning process */ |
356 | schedule_delayed_work(&cache_cleaner, 0); | 356 | queue_delayed_work(system_power_efficient_wq, &cache_cleaner, 0); |
357 | } | 357 | } |
358 | EXPORT_SYMBOL_GPL(sunrpc_init_cache_detail); | 358 | EXPORT_SYMBOL_GPL(sunrpc_init_cache_detail); |
359 | 359 | ||
@@ -476,7 +476,8 @@ static void do_cache_clean(struct work_struct *work) | |||
476 | delay = 0; | 476 | delay = 0; |
477 | 477 | ||
478 | if (delay) | 478 | if (delay) |
479 | schedule_delayed_work(&cache_cleaner, delay); | 479 | queue_delayed_work(system_power_efficient_wq, |
480 | &cache_cleaner, delay); | ||
480 | } | 481 | } |
481 | 482 | ||
482 | 483 | ||