diff options
author | Ricardo Labiaga <Ricardo.Labiaga@netapp.com> | 2009-04-01 09:23:04 -0400 |
---|---|---|
committer | Benny Halevy <bhalevy@panasas.com> | 2009-06-17 17:11:28 -0400 |
commit | 0d90ba1cd416525c4825c111db862d8b15a02e9b (patch) | |
tree | 1f1571410b2d1b17eb8e503fc3b60450f93e9dee /net/sunrpc/xprtsock.c | |
parent | 55ae1aabfb108106dd095de2578ceef1c755a8b8 (diff) |
nfs41: Backchannel callback service helper routines
Executes the backchannel task on the RPC state machine using
the existing open connection previously established by the client.
Signed-off-by: Ricardo Labiaga <ricardo.labiaga@netapp.com>
nfs41: Add bc_svc.o to sunrpc Makefile.
[nfs41: bc_send() does not need to be exported outside RPC module]
[nfs41: xprt_free_bc_request() need not be exported outside RPC module]
Signed-off-by: Ricardo Labiaga <Ricardo.Labiaga@netapp.com>
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
[Update copyright]
Signed-off-by: Ricardo Labiaga <Ricardo.Labiaga@netapp.com>
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Diffstat (limited to 'net/sunrpc/xprtsock.c')
-rw-r--r-- | net/sunrpc/xprtsock.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c index e3e3a57116fb..8a721867b601 100644 --- a/net/sunrpc/xprtsock.c +++ b/net/sunrpc/xprtsock.c | |||
@@ -2183,6 +2183,9 @@ static struct rpc_xprt_ops xs_tcp_ops = { | |||
2183 | .buf_free = rpc_free, | 2183 | .buf_free = rpc_free, |
2184 | .send_request = xs_tcp_send_request, | 2184 | .send_request = xs_tcp_send_request, |
2185 | .set_retrans_timeout = xprt_set_retrans_timeout_def, | 2185 | .set_retrans_timeout = xprt_set_retrans_timeout_def, |
2186 | #if defined(CONFIG_NFS_V4_1) | ||
2187 | .release_request = bc_release_request, | ||
2188 | #endif /* CONFIG_NFS_V4_1 */ | ||
2186 | .close = xs_tcp_close, | 2189 | .close = xs_tcp_close, |
2187 | .destroy = xs_destroy, | 2190 | .destroy = xs_destroy, |
2188 | .print_stats = xs_tcp_print_stats, | 2191 | .print_stats = xs_tcp_print_stats, |