Tejun Heo 059499453a afs: don't use PREPARE_WORK
PREPARE_[DELAYED_]WORK() are being phased out.  They have few users
and a nasty surprise in terms of reentrancy guarantee as workqueue
considers work items to be different if they don't have the same work
function.

afs_call->async_work is multiplexed with multiple work functions.
Introduce afs_async_workfn() which invokes afs_call->async_workfn and
always use it as the work function and update the users to set the
->async_workfn field instead of overriding the work function using
PREPARE_WORK().

It would probably be best to route this with other related updates
through the workqueue tree.

Compile tested.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: David Howells <dhowells@redhat.com>
Cc: linux-afs@lists.infradead.org
2014-03-07 10:24:50 -05:00
..
2008-04-29 08:06:26 -07:00
2007-07-16 09:05:43 -07:00
2011-03-31 11:26:23 -03:00
2014-03-07 10:24:50 -05:00
2009-04-03 16:42:41 +01:00
2012-07-14 16:34:32 +04:00
2009-04-09 10:41:19 -07:00
2014-03-07 10:24:50 -05:00
2013-05-07 20:16:25 -07:00