summaryrefslogtreecommitdiffstats
path: root/net/rds/rdma_transport.c
diff options
context:
space:
mode:
authorAndy Grover <andy.grover@oracle.com>2009-04-09 14:09:37 +0000
committerDavid S. Miller <davem@davemloft.net>2009-04-09 17:21:15 -0700
commit11bc9421da3040c71fc96da1a31e95217e8cf2af (patch)
treef41ce9197671c22e63ba54ee97f2ab74e1520808 /net/rds/rdma_transport.c
parent5cd2fe6d54c91aa76893b3034f5f3473063c0202 (diff)
downloadlinux-stable-11bc9421da3040c71fc96da1a31e95217e8cf2af.tar.gz
linux-stable-11bc9421da3040c71fc96da1a31e95217e8cf2af.tar.bz2
linux-stable-11bc9421da3040c71fc96da1a31e95217e8cf2af.zip
RDS: Correct some iw references in rdma_transport.c
Had some lingering instances of _iw_ variable names from when the listen code was centralized into rdma_transport.c Signed-off-by: Andy Grover <andy.grover@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds/rdma_transport.c')
-rw-r--r--net/rds/rdma_transport.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/net/rds/rdma_transport.c b/net/rds/rdma_transport.c
index 7b19024f9706..7d0f901c93d5 100644
--- a/net/rds/rdma_transport.c
+++ b/net/rds/rdma_transport.c
@@ -34,7 +34,7 @@
#include "rdma_transport.h"
-static struct rdma_cm_id *rds_iw_listen_id;
+static struct rdma_cm_id *rds_rdma_listen_id;
int rds_rdma_cm_event_handler(struct rdma_cm_id *cm_id,
struct rdma_cm_event *event)
@@ -161,7 +161,7 @@ static int __init rds_rdma_listen_init(void)
rdsdebug("cm %p listening on port %u\n", cm_id, RDS_PORT);
- rds_iw_listen_id = cm_id;
+ rds_rdma_listen_id = cm_id;
cm_id = NULL;
out:
if (cm_id)
@@ -171,10 +171,10 @@ out:
static void rds_rdma_listen_stop(void)
{
- if (rds_iw_listen_id) {
- rdsdebug("cm %p\n", rds_iw_listen_id);
- rdma_destroy_id(rds_iw_listen_id);
- rds_iw_listen_id = NULL;
+ if (rds_rdma_listen_id) {
+ rdsdebug("cm %p\n", rds_rdma_listen_id);
+ rdma_destroy_id(rds_rdma_listen_id);
+ rds_rdma_listen_id = NULL;
}
}