]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
[PATCH] RPC: Ensure XDR iovec length is initialized correctly in call_header
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 22 Jun 2005 17:16:19 +0000 (17:16 +0000)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 22 Jun 2005 20:07:02 +0000 (16:07 -0400)
commit334ccfd545bba9690515f2c5c167d5adb161989b
tree8a06af4d40c711c578adc36d9afd3200a88a2689
parentd05fdb0cec75415b2d9eb95748386e67414e49c3
[PATCH] RPC: Ensure XDR iovec length is initialized correctly in call_header

 Fix up call_header() so that it calls xdr_adjust_iovec().
 Fix calculation of the scratch buffer length in xdr_init_encode().

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/clnt.c
net/sunrpc/svc.c
net/sunrpc/xdr.c