diff options
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r-- | fs/nfs/nfs4proc.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 019a009e73a0..198d51d17c13 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -1835,11 +1835,10 @@ static void nfs4_close_done(struct rpc_task *task, void *data) | |||
1835 | if (calldata->arg.fmode == 0) | 1835 | if (calldata->arg.fmode == 0) |
1836 | break; | 1836 | break; |
1837 | default: | 1837 | default: |
1838 | if (nfs4_async_handle_error(task, server, state) == -EAGAIN) { | 1838 | if (nfs4_async_handle_error(task, server, state) == -EAGAIN) |
1839 | nfs_restart_rpc(task, server->nfs_client); | 1839 | rpc_restart_call_prepare(task); |
1840 | return; | ||
1841 | } | ||
1842 | } | 1840 | } |
1841 | nfs_release_seqid(calldata->arg.seqid); | ||
1843 | nfs_refresh_inode(calldata->inode, calldata->res.fattr); | 1842 | nfs_refresh_inode(calldata->inode, calldata->res.fattr); |
1844 | } | 1843 | } |
1845 | 1844 | ||