OSDN Git Service

RPC: Clean up RPC task structure
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 3 Jan 2006 08:55:04 +0000 (09:55 +0100)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 6 Jan 2006 19:58:39 +0000 (14:58 -0500)
commit963d8fe53339128ee46a7701f2e36305f0ccff8c
tree426736c70a8e05cb1d945d5c7f44ea6475edd113
parentabbcf28f23d53e8ec56a91f3528743913fa2694a
RPC: Clean up RPC task structure

 Shrink the RPC task structure. Instead of storing separate pointers
 for task->tk_exit and task->tk_release, put them in a structure.

 Also pass the user data pointer as a parameter instead of passing it via
 task->tk_calldata. This enables us to nest callbacks.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
18 files changed:
fs/lockd/clntproc.c
fs/lockd/svc4proc.c
fs/lockd/svclock.c
fs/lockd/svcproc.c
fs/nfs/direct.c
fs/nfs/nfs3proc.c
fs/nfs/nfs4proc.c
fs/nfs/proc.c
fs/nfs/read.c
fs/nfs/unlink.c
fs/nfs/write.c
fs/nfsd/nfs4callback.c
include/linux/lockd/lockd.h
include/linux/nfs_fs.h
include/linux/sunrpc/clnt.h
include/linux/sunrpc/sched.h
net/sunrpc/clnt.c
net/sunrpc/sched.c