]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/nfs/read.c
Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[linux.git] / fs / nfs / read.c
index 12deb3bdb2a0f544ee2a63987cbad96453266959..34bb9add2302fd3e1181dd26451e4453ab490256 100644 (file)
@@ -281,6 +281,8 @@ static void nfs_readpage_retry(struct rpc_task *task,
        argp->offset += resp->count;
        argp->pgbase += resp->count;
        argp->count -= resp->count;
+       resp->count = 0;
+       resp->eof = 0;
        rpc_restart_call_prepare(task);
 }