SUNRPC: Clean up xdr_set_iov()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 28 Jun 2012 21:17:48 +0000 (17:17 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 28 Jun 2012 21:17:48 +0000 (17:17 -0400)
commit1537693ceaa8d6484f1ce631bec85658bfa9816c
tree9283d433f761de0af804a3d1ea9f9f3946951118
parent76cacaabf15a593833d96a65a1a251002bd88178
SUNRPC: Clean up xdr_set_iov()

Remove the 'p' argument, since that is only ever set by xdr_init_decode.
Add sanity checking of 'p' inside xdr_init_decode itself.

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