[PATCH] RPC: Make rpc_create_client() destroy the transport on failure.
This saves us a couple of lines of cleanup code for each call. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
@@ -61,7 +61,6 @@ EXPORT_SYMBOL(rpc_mkpipe);
|
||||
|
||||
/* Client transport */
|
||||
EXPORT_SYMBOL(xprt_create_proto);
|
||||
EXPORT_SYMBOL(xprt_destroy);
|
||||
EXPORT_SYMBOL(xprt_set_timeout);
|
||||
EXPORT_SYMBOL(xprt_udp_slot_table_entries);
|
||||
EXPORT_SYMBOL(xprt_tcp_slot_table_entries);
|
||||
|
Reference in New Issue
Block a user