diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-01-17 22:04:25 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-01-31 19:28:06 -0500 |
commit | 9d12b216aa87f68c96f6dd8eb5d2d0ccc9989b1c (patch) | |
tree | 74dbe1f8b150b3a66f5cb3589e5efd51ad9dfff5 /fs/nfs/nfs4filelayout.c | |
parent | d2d7ce28a2f8ec6ca2a49145e643d2e3c7d21ba3 (diff) |
NFSv41: Add a new helper nfs4_init_sequence()
Clean up
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4filelayout.c')
-rw-r--r-- | fs/nfs/nfs4filelayout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/nfs4filelayout.c b/fs/nfs/nfs4filelayout.c index 71ec08617e23..b4f8f9624afa 100644 --- a/fs/nfs/nfs4filelayout.c +++ b/fs/nfs/nfs4filelayout.c | |||
@@ -173,7 +173,7 @@ static void filelayout_read_prepare(struct rpc_task *task, void *data) | |||
173 | 173 | ||
174 | if (nfs41_setup_sequence(rdata->ds_clp->cl_session, | 174 | if (nfs41_setup_sequence(rdata->ds_clp->cl_session, |
175 | &rdata->args.seq_args, &rdata->res.seq_res, | 175 | &rdata->args.seq_args, &rdata->res.seq_res, |
176 | 0, task)) | 176 | task)) |
177 | return; | 177 | return; |
178 | 178 | ||
179 | rpc_call_start(task); | 179 | rpc_call_start(task); |
@@ -254,7 +254,7 @@ static void filelayout_write_prepare(struct rpc_task *task, void *data) | |||
254 | 254 | ||
255 | if (nfs41_setup_sequence(wdata->ds_clp->cl_session, | 255 | if (nfs41_setup_sequence(wdata->ds_clp->cl_session, |
256 | &wdata->args.seq_args, &wdata->res.seq_res, | 256 | &wdata->args.seq_args, &wdata->res.seq_res, |
257 | 0, task)) | 257 | task)) |
258 | return; | 258 | return; |
259 | 259 | ||
260 | rpc_call_start(task); | 260 | rpc_call_start(task); |