RDS: introduce rds_conn_connect_if_down()
authorZach Brown <zach.brown@oracle.com>
Mon, 24 May 2010 20:14:36 +0000 (13:14 -0700)
committerAndy Grover <andy.grover@oracle.com>
Thu, 9 Sep 2010 01:15:18 +0000 (18:15 -0700)
commitf3c6808d3d8513db2b0543538fc35c25a60fe7a7
tree84ef99e9d615351000c5cfa81cc08c8c8ffb4be6
parent3e0249f9c05cb77b66f7f09644ca9ca208d991a9
RDS: introduce rds_conn_connect_if_down()

A few paths had the same block of code to queue a connection's connect work if
it was in the right state.  Let's move this in to a helper function.

Signed-off-by: Zach Brown <zach.brown@oracle.com>
net/rds/connection.c
net/rds/rds.h
net/rds/send.c