commit | 76cacaabf15a593833d96a65a1a251002bd88178 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Tue Jun 26 15:32:40 2012 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Tue Jun 26 15:32:40 2012 -0400 |
tree | 9879394d7308c9ef6d8f0dde7175986d5abf4160 | |
parent | db3a3bcf08d5c79290b369d70cc0b80c369d8ad9 [diff] [blame] |
SUNRPC: xdr_read_pages needs to clear xdr->page_ptr. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
diff --git a/net/sunrpc/xdr.c b/net/sunrpc/xdr.c index fddcccf..539c19f 100644 --- a/net/sunrpc/xdr.c +++ b/net/sunrpc/xdr.c
@@ -773,6 +773,7 @@ */ xdr->p = (__be32 *)((char *)iov->iov_base + padding); xdr->end = (__be32 *)((char *)iov->iov_base + end); + xdr->page_ptr = NULL; } EXPORT_SYMBOL_GPL(xdr_read_pages);