Skip to content

Commit

Permalink
NFSv4.1 reclaim complete must wait for completion
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Adamson <[email protected]>
[Trond: fix whitespace errors]
Signed-off-by: Trond Myklebust <[email protected]>
  • Loading branch information
androsadamson authored and Trond Myklebust committed Mar 10, 2011
1 parent 114f64b commit c34c32e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fs/nfs/nfs4proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -5359,6 +5359,9 @@ static int nfs41_proc_reclaim_complete(struct nfs_client *clp)
status = PTR_ERR(task);
goto out;
}
status = nfs4_wait_for_completion_rpc_task(task);
if (status == 0)
status = task->tk_status;
rpc_put_task(task);
return 0;
out:
Expand Down

0 comments on commit c34c32e

Please sign in to comment.