]> git.hungrycats.org Git - linux/commit
RPC: xdr_encode_pages either leaves the tail iovec pointing to
authorTrond Myklebust <trond.myklebust@fys.uio.no>
Sat, 7 Feb 2004 15:47:04 +0000 (16:47 +0100)
committerTrond Myklebust <trond.myklebust@fys.uio.no>
Sat, 7 Feb 2004 15:47:04 +0000 (16:47 +0100)
commit18e4528e552e241d9b0364dbc98988f255e49b39
treeddd713839c89edb67b6cea942b2bfe5987e55b34
parentcb21a7182f9d73ad544f33f5cdec6d2be9a8cd4f
RPC: xdr_encode_pages either leaves the tail iovec pointing to
null or, if padding onthe page data is needed, sets it to point
to a little bit of static data. This is a problem if we're
expecting to later append some data in gss_wrap_req. Modify
xdr_encode_pages to make tail point to the end of the data in
head, as xdr_inline_pages and xdr_write_pages do.
net/sunrpc/xdr.c