Skip to content

Commit

Permalink
fscache: drop references to slow-work
Browse files Browse the repository at this point in the history
fscache no longer uses slow-work.  Drop references to it.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: David Howells <dhowells@redhat.com>
  • Loading branch information
htejun committed Jul 22, 2010
1 parent 8af7c12 commit d098adf
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion fs/fscache/Kconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

config FSCACHE
tristate "General filesystem local caching manager"
select SLOW_WORK
help
This option enables a generic filesystem caching manager that can be
used by various network and other filesystems to cache data locally.
Expand Down
7 changes: 0 additions & 7 deletions fs/fscache/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,6 @@ static int __init fscache_init(void)
unsigned int cpu;
int ret;

ret = slow_work_register_user(THIS_MODULE);
if (ret < 0)
goto error_slow_work;

fscache_object_max_active =
clamp_val(nr_cpus,
fscache_object_max_active, WQ_UNBOUND_MAX_ACTIVE);
Expand Down Expand Up @@ -176,8 +172,6 @@ static int __init fscache_init(void)
error_op_wq:
destroy_workqueue(fscache_object_wq);
error_object_wq:
slow_work_unregister_user(THIS_MODULE);
error_slow_work:
return ret;
}

Expand All @@ -196,7 +190,6 @@ static void __exit fscache_exit(void)
fscache_proc_cleanup();
destroy_workqueue(fscache_op_wq);
destroy_workqueue(fscache_object_wq);
slow_work_unregister_user(THIS_MODULE);
printk(KERN_NOTICE "FS-Cache: Unloaded\n");
}

Expand Down
1 change: 0 additions & 1 deletion include/linux/fscache-cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

#include <linux/fscache.h>
#include <linux/sched.h>
#include <linux/slow-work.h>
#include <linux/workqueue.h>

#define NR_MAXCACHES BITS_PER_LONG
Expand Down

0 comments on commit d098adf

Please sign in to comment.