diff options
author | Fred Isaman <iisaman@netapp.com> | 2011-01-06 06:36:19 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-01-06 14:46:30 -0500 |
commit | daaa82d1c72e10dc16cad3a810e225f9188dc7aa (patch) | |
tree | b9f27383d60f9e0dde03e218e7de39bc96911f0c /fs/nfs | |
parent | 52fabd73199cd00932f92c9f548bdf66a5bbc23d (diff) |
pnfs: remove unnecessary field lgp->status
Signed-off-by: Fred Isaman <iisaman@netapp.com>
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/nfs4proc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 18a4d5a9a4e9..28e175e74de2 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c | |||
@@ -5326,7 +5326,6 @@ static void nfs4_layoutget_done(struct rpc_task *task, void *calldata) | |||
5326 | return; | 5326 | return; |
5327 | } | 5327 | } |
5328 | } | 5328 | } |
5329 | lgp->status = task->tk_status; | ||
5330 | dprintk("<-- %s\n", __func__); | 5329 | dprintk("<-- %s\n", __func__); |
5331 | } | 5330 | } |
5332 | 5331 | ||
@@ -5382,7 +5381,7 @@ int nfs4_proc_layoutget(struct nfs4_layoutget *lgp) | |||
5382 | status = nfs4_wait_for_completion_rpc_task(task); | 5381 | status = nfs4_wait_for_completion_rpc_task(task); |
5383 | if (status != 0) | 5382 | if (status != 0) |
5384 | goto out; | 5383 | goto out; |
5385 | status = lgp->status; | 5384 | status = task->tk_status; |
5386 | if (status != 0) | 5385 | if (status != 0) |
5387 | goto out; | 5386 | goto out; |
5388 | status = pnfs_layout_process(lgp); | 5387 | status = pnfs_layout_process(lgp); |