aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dlm/lowcomms-tcp.c
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2007-01-09 10:41:48 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2007-02-05 13:36:37 -0500
commit68c817a1c4e21b893672ac73d8a498e6647453aa (patch)
tree12c0fe9bd087ac1a0189048a7f4535993d6cb697 /fs/dlm/lowcomms-tcp.c
parent8ec6886748443bec53ce9b9bf50cec92bc417a1b (diff)
[DLM] rename dlm_config_info fields
Add a "ci_" prefix to the fields in the dlm_config_info struct so that we can use macros to add configfs functions to access them (in a later patch). No functional changes in this patch, just naming changes. Signed-off-by: David Teigland <teigland@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/dlm/lowcomms-tcp.c')
-rw-r--r--fs/dlm/lowcomms-tcp.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/fs/dlm/lowcomms-tcp.c b/fs/dlm/lowcomms-tcp.c
index ce5e7cdfb45d..b4fb5783ef8a 100644
--- a/fs/dlm/lowcomms-tcp.c
+++ b/fs/dlm/lowcomms-tcp.c
@@ -548,7 +548,7 @@ static void connect_to_sock(struct connection *con)
548 sock->sk->sk_user_data = con; 548 sock->sk->sk_user_data = con;
549 con->rx_action = receive_from_sock; 549 con->rx_action = receive_from_sock;
550 550
551 make_sockaddr(&saddr, dlm_config.tcp_port, &addr_len); 551 make_sockaddr(&saddr, dlm_config.ci_tcp_port, &addr_len);
552 552
553 add_sock(sock, con); 553 add_sock(sock, con);
554 554
@@ -616,10 +616,10 @@ static struct socket *create_listen_sock(struct connection *con,
616 con->sock = sock; 616 con->sock = sock;
617 617
618 /* Bind to our port */ 618 /* Bind to our port */
619 make_sockaddr(saddr, dlm_config.tcp_port, &addr_len); 619 make_sockaddr(saddr, dlm_config.ci_tcp_port, &addr_len);
620 result = sock->ops->bind(sock, (struct sockaddr *) saddr, addr_len); 620 result = sock->ops->bind(sock, (struct sockaddr *) saddr, addr_len);
621 if (result < 0) { 621 if (result < 0) {
622 printk("dlm: Can't bind to port %d\n", dlm_config.tcp_port); 622 printk("dlm: Can't bind to port %d\n", dlm_config.ci_tcp_port);
623 sock_release(sock); 623 sock_release(sock);
624 sock = NULL; 624 sock = NULL;
625 con->sock = NULL; 625 con->sock = NULL;
@@ -638,7 +638,8 @@ static struct socket *create_listen_sock(struct connection *con,
638 638
639 result = sock->ops->listen(sock, 5); 639 result = sock->ops->listen(sock, 5);
640 if (result < 0) { 640 if (result < 0) {
641 printk("dlm: Can't listen on port %d\n", dlm_config.tcp_port); 641 printk("dlm: Can't listen on port %d\n",
642 dlm_config.ci_tcp_port);
642 sock_release(sock); 643 sock_release(sock);
643 sock = NULL; 644 sock = NULL;
644 goto create_out; 645 goto create_out;