aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/read.c
diff options
context:
space:
mode:
authorAndy Adamson <andros@netapp.com>2009-04-01 09:22:41 -0400
committerBenny Halevy <bhalevy@panasas.com>2009-06-17 15:25:07 -0400
commiteedc020e718b8ce45381383ec66030f09eb02a1e (patch)
treef29fe9309b67be4d5387c2ced72c063fb4df53c0 /fs/nfs/read.c
parentaae2006e9b0c294114915c13022fa348e1a88023 (diff)
nfs41: use rpc prepare call state for session reset
[nfs41: change nfs4_restart_rpc argument] [nfs41: check for session not minorversion] [nfs41: trigger the state manager for session reset] Signed-off-by: Andy Adamson <andros@netapp.com> Signed-off-by: Benny Halevy <bhalevy@panasas.com> [always define nfs4_restart_rpc] Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/read.c')
-rw-r--r--fs/nfs/read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/read.c b/fs/nfs/read.c
index d71f0d55ebde..96c4ebfa46f4 100644
--- a/fs/nfs/read.c
+++ b/fs/nfs/read.c
@@ -371,7 +371,7 @@ static void nfs_readpage_retry(struct rpc_task *task, struct nfs_read_data *data
371 argp->offset += resp->count; 371 argp->offset += resp->count;
372 argp->pgbase += resp->count; 372 argp->pgbase += resp->count;
373 argp->count -= resp->count; 373 argp->count -= resp->count;
374 rpc_restart_call(task); 374 nfs4_restart_rpc(task, NFS_SERVER(data->inode)->nfs_client);
375 return; 375 return;
376out: 376out:
377 nfs4_sequence_free_slot(NFS_SERVER(data->inode)->nfs_client, 377 nfs4_sequence_free_slot(NFS_SERVER(data->inode)->nfs_client,