]> err.no Git - linux-2.6/commit
svc: Add per-transport delete functions
authorTom Tucker <tom@opengridcomputing.com>
Mon, 31 Dec 2007 03:07:27 +0000 (21:07 -0600)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 1 Feb 2008 21:42:08 +0000 (16:42 -0500)
commit755cceaba7555027e61dfa79f1e55bdfc6906633
tree13fa81b19e96af8130414b3535ced72b910a1aef
parent5148bf4ebc1f59dc6a0ec43a220c55ff0771246e
svc: Add per-transport delete functions

Add transport specific xpo_detach and xpo_free functions. The xpo_detach
function causes the transport to stop delivering data-ready events
and enqueing the transport for I/O.

The xpo_free function frees all resources associated with the particular
transport instance.

Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
Acked-by: Neil Brown <neilb@suse.de>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Greg Banks <gnb@sgi.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
include/linux/sunrpc/svc_xprt.h
net/sunrpc/svcsock.c