Merge branch 'for-3.17' of git://linux-nfs.org/~bfields/linux

Pull nfsd bugfix from Bruce Fields:
"This fixes a data corruption bug introduced by the v3.16 xdr encoding
rewrite. I haven't managed to reproduce it myself yet, but it's
apparently not hard to hit given the right workload"

* 'for-3.17' of git://linux-nfs.org/~bfields/linux:
nfsd4: fix corruption of NFSv4 read data

Changed files
+2 -1
fs
nfsd
+2 -1
fs/nfsd/nfs4xdr.c
··· 3104 3104 3105 3105 buf->page_len = maxcount; 3106 3106 buf->len += maxcount; 3107 - xdr->page_ptr += (maxcount + PAGE_SIZE - 1) / PAGE_SIZE; 3107 + xdr->page_ptr += (buf->page_base + maxcount + PAGE_SIZE - 1) 3108 + / PAGE_SIZE; 3108 3109 3109 3110 /* Use rest of head for padding and remaining ops: */ 3110 3111 buf->tail[0].iov_base = xdr->p;