aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r--fs/nfs/nfs4proc.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 188f2ce593ec..a8e0b3573594 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -492,8 +492,17 @@ static void nfs41_call_sync_prepare(struct rpc_task *task, void *calldata)
492 rpc_call_start(task); 492 rpc_call_start(task);
493} 493}
494 494
495static void nfs41_call_sync_done(struct rpc_task *task, void *calldata)
496{
497 struct nfs41_call_sync_data *data = calldata;
498
499 nfs41_sequence_done(data->clp, data->seq_res, task->tk_status);
500 nfs41_sequence_free_slot(data->clp, data->seq_res);
501}
502
495struct rpc_call_ops nfs41_call_sync_ops = { 503struct rpc_call_ops nfs41_call_sync_ops = {
496 .rpc_call_prepare = nfs41_call_sync_prepare, 504 .rpc_call_prepare = nfs41_call_sync_prepare,
505 .rpc_call_done = nfs41_call_sync_done,
497}; 506};
498 507
499static int nfs4_call_sync_sequence(struct nfs_client *clp, 508static int nfs4_call_sync_sequence(struct nfs_client *clp,