SUNRPC: New xdr_streams XDR decoder API
Now that all client-side XDR decoder routines use xdr_streams, there should be no need to support the legacy calling sequence [rpc_rqst *, __be32 *, RPC res *] anywhere. We can construct an xdr_stream in the generic RPC code, instead of in each decoder function. This is a refactoring change. It should not cause different behavior. Signed-off-by:Chuck Lever <chuck.lever@oracle.com> Tested-by:
J. Bruce Fields <bfields@redhat.com> Signed-off-by:
Trond Myklebust <Trond.Myklebust@netapp.com>
Showing
- fs/lockd/clnt4xdr.c 9 additions, 11 deletionsfs/lockd/clnt4xdr.c
- fs/lockd/clntxdr.c 9 additions, 11 deletionsfs/lockd/clntxdr.c
- fs/lockd/mon.c 15 additions, 15 deletionsfs/lockd/mon.c
- fs/nfs/mount_clnt.c 13 additions, 17 deletionsfs/nfs/mount_clnt.c
- fs/nfs/nfs2xdr.c 24 additions, 44 deletionsfs/nfs/nfs2xdr.c
- fs/nfs/nfs3xdr.c 87 additions, 108 deletionsfs/nfs/nfs3xdr.c
- fs/nfs/nfs4xdr.c 303 additions, 316 deletionsfs/nfs/nfs4xdr.c
- fs/nfsd/nfs4callback.c 8 additions, 8 deletionsfs/nfsd/nfs4callback.c
- include/linux/sunrpc/auth.h 2 additions, 2 deletionsinclude/linux/sunrpc/auth.h
- include/linux/sunrpc/clnt.h 1 addition, 1 deletioninclude/linux/sunrpc/clnt.h
- include/linux/sunrpc/xdr.h 2 additions, 1 deletioninclude/linux/sunrpc/xdr.h
- net/sunrpc/auth.c 12 additions, 2 deletionsnet/sunrpc/auth.c
- net/sunrpc/auth_gss/auth_gss.c 11 additions, 2 deletionsnet/sunrpc/auth_gss/auth_gss.c
- net/sunrpc/clnt.c 2 additions, 2 deletionsnet/sunrpc/clnt.c
- net/sunrpc/rpcb_clnt.c 20 additions, 26 deletionsnet/sunrpc/rpcb_clnt.c
Loading
Please register or sign in to comment