NFSv41: Add a new helper nfs4_init_sequence()
[linux-block.git] / fs / nfs / unlink.c
index 4f9319a2e5674554d48a01af2189011a5e35346c..490613b709b619b0e430b7660cfe968610b3fec7 100644 (file)
@@ -114,7 +114,7 @@ void nfs_unlink_prepare(struct rpc_task *task, void *calldata)
        struct nfs_server *server = NFS_SERVER(data->dir);
 
        if (nfs4_setup_sequence(server, &data->args.seq_args,
-                               &data->res.seq_res, 1, task))
+                               &data->res.seq_res, task))
                return;
        rpc_call_start(task);
 }
@@ -410,7 +410,7 @@ static void nfs_rename_prepare(struct rpc_task *task, void *calldata)
        struct nfs_server *server = NFS_SERVER(data->old_dir);
 
        if (nfs4_setup_sequence(server, &data->args.seq_args,
-                               &data->res.seq_res, 1, task))
+                               &data->res.seq_res, task))
                return;
        rpc_call_start(task);
 }