]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit47ef8e5f569cedbfcbebaaf5abf7a166defc1d89
tree426736c70a8e05cb1d945d5c7f44ea6475edd113
parentf023049da3b2b224384c68cea5ca679d332a5c2d
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