aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/clnt.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sunrpc/clnt.c')
-rw-r--r--net/sunrpc/clnt.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c
index 64c3fe11aff6..d3fe866f57ac 100644
--- a/net/sunrpc/clnt.c
+++ b/net/sunrpc/clnt.c
@@ -64,9 +64,9 @@ static void call_decode(struct rpc_task *task);
64static void call_bind(struct rpc_task *task); 64static void call_bind(struct rpc_task *task);
65static void call_bind_status(struct rpc_task *task); 65static void call_bind_status(struct rpc_task *task);
66static void call_transmit(struct rpc_task *task); 66static void call_transmit(struct rpc_task *task);
67#if defined(CONFIG_NFS_V4_1) 67#if defined(CONFIG_SUNRPC_BACKCHANNEL)
68static void call_bc_transmit(struct rpc_task *task); 68static void call_bc_transmit(struct rpc_task *task);
69#endif /* CONFIG_NFS_V4_1 */ 69#endif /* CONFIG_SUNRPC_BACKCHANNEL */
70static void call_status(struct rpc_task *task); 70static void call_status(struct rpc_task *task);
71static void call_transmit_status(struct rpc_task *task); 71static void call_transmit_status(struct rpc_task *task);
72static void call_refresh(struct rpc_task *task); 72static void call_refresh(struct rpc_task *task);
@@ -716,7 +716,7 @@ rpc_call_async(struct rpc_clnt *clnt, const struct rpc_message *msg, int flags,
716} 716}
717EXPORT_SYMBOL_GPL(rpc_call_async); 717EXPORT_SYMBOL_GPL(rpc_call_async);
718 718
719#if defined(CONFIG_NFS_V4_1) 719#if defined(CONFIG_SUNRPC_BACKCHANNEL)
720/** 720/**
721 * rpc_run_bc_task - Allocate a new RPC task for backchannel use, then run 721 * rpc_run_bc_task - Allocate a new RPC task for backchannel use, then run
722 * rpc_execute against it 722 * rpc_execute against it
@@ -759,7 +759,7 @@ out:
759 dprintk("RPC: rpc_run_bc_task: task= %p\n", task); 759 dprintk("RPC: rpc_run_bc_task: task= %p\n", task);
760 return task; 760 return task;
761} 761}
762#endif /* CONFIG_NFS_V4_1 */ 762#endif /* CONFIG_SUNRPC_BACKCHANNEL */
763 763
764void 764void
765rpc_call_start(struct rpc_task *task) 765rpc_call_start(struct rpc_task *task)
@@ -1362,7 +1362,7 @@ call_transmit_status(struct rpc_task *task)
1362 } 1362 }
1363} 1363}
1364 1364
1365#if defined(CONFIG_NFS_V4_1) 1365#if defined(CONFIG_SUNRPC_BACKCHANNEL)
1366/* 1366/*
1367 * 5b. Send the backchannel RPC reply. On error, drop the reply. In 1367 * 5b. Send the backchannel RPC reply. On error, drop the reply. In
1368 * addition, disconnect on connectivity errors. 1368 * addition, disconnect on connectivity errors.
@@ -1426,7 +1426,7 @@ call_bc_transmit(struct rpc_task *task)
1426 } 1426 }
1427 rpc_wake_up_queued_task(&req->rq_xprt->pending, task); 1427 rpc_wake_up_queued_task(&req->rq_xprt->pending, task);
1428} 1428}
1429#endif /* CONFIG_NFS_V4_1 */ 1429#endif /* CONFIG_SUNRPC_BACKCHANNEL */
1430 1430
1431/* 1431/*
1432 * 6. Sort out the RPC call status 1432 * 6. Sort out the RPC call status