]> git.baikalelectronics.ru Git - kernel.git/commit
AFS: Pass an afs_call* to call->async_workfn() instead of a work_struct*
authorDavid Howells <dhowells@redhat.com>
Wed, 21 May 2014 14:55:26 +0000 (15:55 +0100)
committerDavid Howells <dhowells@redhat.com>
Fri, 23 May 2014 12:05:22 +0000 (13:05 +0100)
commitc5de6f9a5854658dee96245abc9ca8d49ec9e29e
treea61e9fc6abc26d076d51615f6933ca1bcf03154f
parent4272ae11f0907fe49e793e71bfdc4040d7a60156
AFS: Pass an afs_call* to call->async_workfn() instead of a work_struct*

call->async_workfn() can take an afs_call* arg rather than a work_struct* as
the functions assigned there are now called from afs_async_workfn() which has
to call container_of() anyway.

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Nathaniel Wesley Filardo <nwf@cs.jhu.edu>
Reviewed-by: Tejun Heo <tj@kernel.org>
fs/afs/internal.h
fs/afs/rxrpc.c