[Stgt-devel] [PATCH 2/2] iser static function

Pete Wyckoff pw
Thu May 29 19:51:57 CEST 2008


Make an internal function static.

Signed-off-by: Pete Wyckoff <pw at osc.edu>
---
 usr/iscsi/iscsi_rdma.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/usr/iscsi/iscsi_rdma.c b/usr/iscsi/iscsi_rdma.c
index d46ddff..46e6ea8 100644
--- a/usr/iscsi/iscsi_rdma.c
+++ b/usr/iscsi/iscsi_rdma.c
@@ -1232,8 +1232,8 @@ out:
 /*
  * Copy the remote va and stag that were temporarily saved in conn_info.
  */
-struct iscsi_task *iscsi_iser_alloc_task(struct iscsi_connection *conn,
-					 size_t ext_len)
+static struct iscsi_task *iscsi_iser_alloc_task(struct iscsi_connection *conn,
+						size_t ext_len)
 {
 	struct conn_info *ci = RDMA_CONN(conn);
 	struct iser_task *itask;
-- 
1.5.5.1




More information about the stgt mailing list