summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4filelayout.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-01-18 04:04:25 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-02-01 01:28:06 +0100
commit9d12b216aa87f68c96f6dd8eb5d2d0ccc9989b1c (patch)
tree74dbe1f8b150b3a66f5cb3589e5efd51ad9dfff5 /fs/nfs/nfs4filelayout.c
parentNFSv4: Replace lock_owner->ld_id with an ida based allocator (diff)
downloadlinux-9d12b216aa87f68c96f6dd8eb5d2d0ccc9989b1c.tar.xz
linux-9d12b216aa87f68c96f6dd8eb5d2d0ccc9989b1c.zip
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.c4
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)
if (nfs41_setup_sequence(rdata->ds_clp->cl_session,
&rdata->args.seq_args, &rdata->res.seq_res,
- 0, task))
+ task))
return;
rpc_call_start(task);
@@ -254,7 +254,7 @@ static void filelayout_write_prepare(struct rpc_task *task, void *data)
if (nfs41_setup_sequence(wdata->ds_clp->cl_session,
&wdata->args.seq_args, &wdata->res.seq_res,
- 0, task))
+ task))
return;
rpc_call_start(task);