diff options
author | Andy Adamson <andros@netapp.com> | 2011-03-09 13:13:46 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-03-10 15:05:01 -0500 |
commit | c34c32ea97718bb24fc06158733580003ba89211 (patch) | |
tree | e11ca3f95ecc237499cd5d06f2377cc327c208b1 /fs/nfs/nfs4proc.c | |
parent | 114f64b5f24abac33a42f4f1856eb3a9766d497e (diff) |
NFSv4.1 reclaim complete must wait for completion
Signed-off-by: Andy Adamson <andros@netapp.com>
[Trond: fix whitespace errors]
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r-- | fs/nfs/nfs4proc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index d3c705aa71f6..0a13ae720dd0 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -5359,6 +5359,9 @@ static int nfs41_proc_reclaim_complete(struct nfs_client *clp) | |||
5359 | status = PTR_ERR(task); | 5359 | status = PTR_ERR(task); |
5360 | goto out; | 5360 | goto out; |
5361 | } | 5361 | } |
5362 | status = nfs4_wait_for_completion_rpc_task(task); | ||
5363 | if (status == 0) | ||
5364 | status = task->tk_status; | ||
5362 | rpc_put_task(task); | 5365 | rpc_put_task(task); |
5363 | return 0; | 5366 | return 0; |
5364 | out: | 5367 | out: |