diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfsd/nfs4xdr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c index 171fe5e4af67..e34f5ebfc811 100644 --- a/fs/nfsd/nfs4xdr.c +++ b/fs/nfsd/nfs4xdr.c | |||
@@ -167,8 +167,8 @@ static __be32 *read_buf(struct nfsd4_compoundargs *argp, u32 nbytes) | |||
167 | */ | 167 | */ |
168 | memcpy(p, argp->p, avail); | 168 | memcpy(p, argp->p, avail); |
169 | /* step to next page */ | 169 | /* step to next page */ |
170 | argp->p = page_address(argp->pagelist[0]); | ||
171 | argp->pagelist++; | 170 | argp->pagelist++; |
171 | argp->p = page_address(argp->pagelist[0]); | ||
172 | if (argp->pagelen < PAGE_SIZE) { | 172 | if (argp->pagelen < PAGE_SIZE) { |
173 | argp->end = argp->p + (argp->pagelen>>2); | 173 | argp->end = argp->p + (argp->pagelen>>2); |
174 | argp->pagelen = 0; | 174 | argp->pagelen = 0; |