diff options
author | Andy Grover <andy.grover@oracle.com> | 2009-08-21 08:28:32 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-23 22:13:07 -0400 |
commit | 616b757ae18fb8ec2dfe7ff9d3f589f82cb0eb9d (patch) | |
tree | 40841513a49c35061c1c131ebfed28ce9a69bb3b /net/rds/connection.c | |
parent | 70041088e3b976627ba9a183b812f39ef8a9ba0e (diff) |
RDS: Export symbols from core RDS
Now that rdma and tcp transports will be modularized,
we need to export a number of functions so they can call them.
Signed-off-by: Andy Grover <andy.grover@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds/connection.c')
-rw-r--r-- | net/rds/connection.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/rds/connection.c b/net/rds/connection.c index b420a20d84fd..cc8b568c0c84 100644 --- a/net/rds/connection.c +++ b/net/rds/connection.c | |||
@@ -255,12 +255,14 @@ struct rds_connection *rds_conn_create(__be32 laddr, __be32 faddr, | |||
255 | { | 255 | { |
256 | return __rds_conn_create(laddr, faddr, trans, gfp, 0); | 256 | return __rds_conn_create(laddr, faddr, trans, gfp, 0); |
257 | } | 257 | } |
258 | EXPORT_SYMBOL_GPL(rds_conn_create); | ||
258 | 259 | ||
259 | struct rds_connection *rds_conn_create_outgoing(__be32 laddr, __be32 faddr, | 260 | struct rds_connection *rds_conn_create_outgoing(__be32 laddr, __be32 faddr, |
260 | struct rds_transport *trans, gfp_t gfp) | 261 | struct rds_transport *trans, gfp_t gfp) |
261 | { | 262 | { |
262 | return __rds_conn_create(laddr, faddr, trans, gfp, 1); | 263 | return __rds_conn_create(laddr, faddr, trans, gfp, 1); |
263 | } | 264 | } |
265 | EXPORT_SYMBOL_GPL(rds_conn_create_outgoing); | ||
264 | 266 | ||
265 | void rds_conn_destroy(struct rds_connection *conn) | 267 | void rds_conn_destroy(struct rds_connection *conn) |
266 | { | 268 | { |
@@ -303,6 +305,7 @@ void rds_conn_destroy(struct rds_connection *conn) | |||
303 | 305 | ||
304 | rds_conn_count--; | 306 | rds_conn_count--; |
305 | } | 307 | } |
308 | EXPORT_SYMBOL_GPL(rds_conn_destroy); | ||
306 | 309 | ||
307 | static void rds_conn_message_info(struct socket *sock, unsigned int len, | 310 | static void rds_conn_message_info(struct socket *sock, unsigned int len, |
308 | struct rds_info_iterator *iter, | 311 | struct rds_info_iterator *iter, |
@@ -406,6 +409,7 @@ void rds_for_each_conn_info(struct socket *sock, unsigned int len, | |||
406 | 409 | ||
407 | spin_unlock_irqrestore(&rds_conn_lock, flags); | 410 | spin_unlock_irqrestore(&rds_conn_lock, flags); |
408 | } | 411 | } |
412 | EXPORT_SYMBOL_GPL(rds_for_each_conn_info); | ||
409 | 413 | ||
410 | static int rds_conn_info_visitor(struct rds_connection *conn, | 414 | static int rds_conn_info_visitor(struct rds_connection *conn, |
411 | void *buffer) | 415 | void *buffer) |
@@ -481,6 +485,7 @@ void rds_conn_drop(struct rds_connection *conn) | |||
481 | atomic_set(&conn->c_state, RDS_CONN_ERROR); | 485 | atomic_set(&conn->c_state, RDS_CONN_ERROR); |
482 | queue_work(rds_wq, &conn->c_down_w); | 486 | queue_work(rds_wq, &conn->c_down_w); |
483 | } | 487 | } |
488 | EXPORT_SYMBOL_GPL(rds_conn_drop); | ||
484 | 489 | ||
485 | /* | 490 | /* |
486 | * An error occurred on the connection | 491 | * An error occurred on the connection |