diff options
Diffstat (limited to 'fs/nfs/unlink.c')
-rw-r--r-- | fs/nfs/unlink.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/nfs/unlink.c b/fs/nfs/unlink.c index 1064c91ae810..52f7bdb12c83 100644 --- a/fs/nfs/unlink.c +++ b/fs/nfs/unlink.c | |||
@@ -81,9 +81,11 @@ static void nfs_async_unlink_done(struct rpc_task *task, void *calldata) | |||
81 | { | 81 | { |
82 | struct nfs_unlinkdata *data = calldata; | 82 | struct nfs_unlinkdata *data = calldata; |
83 | struct inode *dir = data->dir; | 83 | struct inode *dir = data->dir; |
84 | struct nfs_removeres *res = task->tk_msg.rpc_resp; | ||
84 | 85 | ||
85 | if (!NFS_PROTO(dir)->unlink_done(task, dir)) | 86 | if (!NFS_PROTO(dir)->unlink_done(task, dir)) |
86 | nfs4_restart_rpc(task, NFS_SERVER(dir)->nfs_client); | 87 | nfs4_restart_rpc(task, NFS_SERVER(dir)->nfs_client, |
88 | &res->seq_res); | ||
87 | } | 89 | } |
88 | 90 | ||
89 | /** | 91 | /** |