projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/net/sunrpc/xdr.c
b/net/sunrpc/xdr.c
index fddcccfcdf768afd5fbad18d7c37380633bbd767..539c19fb91de4107127957d7b08deb8e3d53ae43 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);