]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - fs/nfs/read.c
NFS: Get rid of nfs_restart_rpc()
[mirror_ubuntu-zesty-kernel.git] / fs / nfs / read.c
index bfc20b160243de06d8bf4354268c9e075cdc3cad..e866a7e6e2d593be073df0a6d382a8212caf0c2c 100644 (file)
@@ -435,7 +435,7 @@ static void nfs_readpage_retry(struct rpc_task *task, struct nfs_read_data *data
        argp->offset += resp->count;
        argp->pgbase += resp->count;
        argp->count -= resp->count;
-       nfs_restart_rpc(task, NFS_SERVER(data->inode)->nfs_client);
+       rpc_restart_call_prepare(task);
 }
 
 /*