diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-10-19 15:17:29 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-10-19 16:58:30 -0400 |
commit | d00c5d43866720963a265fa3129f3203cac35b8e (patch) | |
tree | 0121c93156007c7764a818cc70b6864614e40536 /fs/nfs/write.c | |
parent | b8ef70639b609c5d12c618f1d9ffae6ac13aebe3 (diff) |
NFS: Get rid of nfs_restart_rpc()
It can trivially be replaced with rpc_restart_call_prepare.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/write.c')
-rw-r--r-- | fs/nfs/write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/write.c b/fs/nfs/write.c index 2084a6494218..ad90b0c998cb 100644 --- a/fs/nfs/write.c +++ b/fs/nfs/write.c | |||
@@ -1305,7 +1305,7 @@ void nfs_writeback_done(struct rpc_task *task, struct nfs_write_data *data) | |||
1305 | */ | 1305 | */ |
1306 | argp->stable = NFS_FILE_SYNC; | 1306 | argp->stable = NFS_FILE_SYNC; |
1307 | } | 1307 | } |
1308 | nfs_restart_rpc(task, server->nfs_client); | 1308 | rpc_restart_call_prepare(task); |
1309 | return; | 1309 | return; |
1310 | } | 1310 | } |
1311 | if (time_before(complain, jiffies)) { | 1311 | if (time_before(complain, jiffies)) { |