projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db3a3bc
)
SUNRPC: xdr_read_pages needs to clear xdr->page_ptr.
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Tue, 26 Jun 2012 19:32:40 +0000
(15:32 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Tue, 26 Jun 2012 19:32:40 +0000
(15:32 -0400)
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xdr.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/xdr.c
b/net/sunrpc/xdr.c
index
fddcccf
..
539c19f
100644
(file)
--- a/
net/sunrpc/xdr.c
+++ b/
net/sunrpc/xdr.c
@@
-773,6
+773,7
@@
void xdr_read_pages(struct xdr_stream *xdr, unsigned int len)
*/
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);