diff options
author | Sowmini Varadhan <sowmini.varadhan@oracle.com> | 2016-06-13 16:44:39 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-15 06:50:43 (GMT) |
commit | fb1b3dc43dabd4bf7b57b3d63fd2875a499c81f0 (patch) | |
tree | 2784d9fbc250048373c7ee4de50d683a1fafc87c /net/rds/threads.c | |
parent | 992c9ec5fe1d0c7859e158ee22f293cbee95c6a3 (diff) | |
download | linux-fb1b3dc43dabd4bf7b57b3d63fd2875a499c81f0.tar.xz |
RDS: Add rds_conn_path_error()
rds_conn_path_error() is the MP-aware analog of rds_conn_error,
to be used by multipath-capable callers.
Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds/threads.c')
-rw-r--r-- | net/rds/threads.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/rds/threads.c b/net/rds/threads.c index 50d2657..94cca66 100644 --- a/net/rds/threads.c +++ b/net/rds/threads.c @@ -163,7 +163,8 @@ void rds_connect_worker(struct work_struct *work) RDS_CONN_DOWN)) rds_queue_reconnect(cp); else - rds_conn_error(conn, "RDS: connect failed\n"); + rds_conn_path_error(cp, + "RDS: connect failed\n"); } } } |