From d9872582b45ae70972857ee8287bf1afdaebd166 Mon Sep 17 00:00:00 2001 From: Yan Burman Date: Wed, 10 Sep 2014 08:53:05 +0000 Subject: [PATCH] isert: Rename static version of isert_conn_free() to make its name unique We had two functions called isert_conn_free() a static one and a global one. Rename the static one so that it will be less confusing while reading the code. Signed-off-by: Yan Burman git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@5790 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/kernel/isert-scst/isert.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iscsi-scst/kernel/isert-scst/isert.c b/iscsi-scst/kernel/isert-scst/isert.c index a66bfae00..54020794b 100644 --- a/iscsi-scst/kernel/isert-scst/isert.c +++ b/iscsi-scst/kernel/isert-scst/isert.c @@ -269,7 +269,7 @@ static int isert_conn_activate(struct iscsi_conn *conn) return 0; } -static void isert_conn_free(struct iscsi_conn *conn) +static void isert_free_conn(struct iscsi_conn *conn) { isert_free_connection(conn); } @@ -454,7 +454,7 @@ static struct iscsit_transport isert_transport = { .transport_type = ISCSI_RDMA, .iscsit_conn_alloc = isert_conn_alloc, .iscsit_conn_activate = isert_conn_activate, - .iscsit_conn_free = isert_conn_free, + .iscsit_conn_free = isert_free_conn, .iscsit_alloc_cmd = isert_cmnd_alloc, .iscsit_free_cmd = isert_cmnd_free, .iscsit_preprocessing_done = isert_preprocessing_done,