diff options
author | Andy Adamson <andros@netapp.com> | 2009-04-01 09:23:10 -0400 |
---|---|---|
committer | Benny Halevy <bhalevy@panasas.com> | 2009-06-17 14:11:31 -0700 |
commit | 9c9f3f5fa62cc4959e4d4d1cf1ec74f2d6ac1197 (patch) | |
tree | a8fb954b9e707b4afdd822e503fc4857f4d88d5d /net/sunrpc/svc.c | |
parent | 7652e5a09ba319241607b22d9055ce93fd5b8039 (diff) | |
download | linux-9c9f3f5fa62cc4959e4d4d1cf1ec74f2d6ac1197.tar.bz2 |
nfs41: sunrpc: add a struct svc_xprt pointer to struct svc_serv for backchannel use
This svc_xprt is passed on to the callback service thread to be later used
to processes incoming svc_rqst's
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Diffstat (limited to 'net/sunrpc/svc.c')
-rw-r--r-- | net/sunrpc/svc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c index 06b52e465f47..b35048fabe22 100644 --- a/net/sunrpc/svc.c +++ b/net/sunrpc/svc.c @@ -487,6 +487,10 @@ svc_destroy(struct svc_serv *serv) if (svc_serv_is_pooled(serv)) svc_pool_map_put(); +#if defined(CONFIG_NFS_V4_1) + svc_sock_destroy(serv->bc_xprt); +#endif /* CONFIG_NFS_V4_1 */ + svc_unregister(serv); kfree(serv->sv_pools); kfree(serv); |