From: Tejun Heo Date: Fri, 14 Jan 2011 15:56:37 +0000 (+0000) Subject: afs: add afs_wq and use it instead of the system workqueue X-Git-Tag: v2.6.38-rc1~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ad53eeefcbb2620b6a71ffdaad4add20b450b8b;p=pandora-kernel.git 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 Signed-off-by: David Howells Cc: linux-afs@lists.infradead.org Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed