提交 76cacaab 编写于 作者: T Trond Myklebust

SUNRPC: xdr_read_pages needs to clear xdr->page_ptr.

Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
上级 db3a3bcf
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册