RDS: Correct some iw references in rdma_transport.c
authorAndy Grover <andy.grover@oracle.com>
Thu, 9 Apr 2009 14:09:37 +0000 (14:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Apr 2009 00:21:15 +0000 (17:21 -0700)
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>
net/rds/rdma_transport.c

index 7b19024f97069e00340c20cb07daee54e28835de..7d0f901c93d505a3d33e08b4a1449dba31296e61 100644 (file)
@@ -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;
        }
 }