diff options
author | Tejun Heo <tj@kernel.org> | 2011-01-14 16:56:37 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-14 18:25:11 +0100 |
commit | 0ad53eeefcbb2620b6a71ffdaad4add20b450b8b (patch) | |
tree | 6f24c2d7b0a7554842544e51bd8e52159086669e /drivers/power/ds2760_battery.c | |
parent | rxrpc: rxrpc_workqueue isn't used during memory reclaim (diff) | |
download | linux-0ad53eeefcbb2620b6a71ffdaad4add20b450b8b.tar.xz linux-0ad53eeefcbb2620b6a71ffdaad4add20b450b8b.zip |
afs: add afs_wq and use it instead of the system workqueue
flush_scheduled_work() is going away. afs needs to make sure all the
works it has queued have finished before being unloaded and there can
be arbitrary number of pending works. Add afs_wq and use it as the
flush domain instead of the system workqueue.
Also, convert cancel_delayed_work() + flush_scheduled_work() to
cancel_delayed_work_sync() in afs_mntpt_kill_timer().
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: David Howells <dhowells@redhat.com>
Cc: linux-afs@lists.infradead.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/power/ds2760_battery.c')
0 files changed, 0 insertions, 0 deletions