mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-18 13:16:34 +00:00
isert: Rename a function
Signed-off-by: Ariel Nahum <arieln@mellanox.com> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6566 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -284,7 +284,7 @@ void isert_conn_free(struct isert_connection *isert_conn);
|
||||
void isert_conn_disconnect(struct isert_connection *isert_conn);
|
||||
void isert_post_drain(struct isert_connection *isert_conn);
|
||||
|
||||
static inline struct isert_connection *isert_conn_alloc(void)
|
||||
static inline struct isert_connection *isert_conn_zalloc(void)
|
||||
{
|
||||
return kmem_cache_zalloc(isert_conn_cache, GFP_KERNEL);
|
||||
}
|
||||
|
||||
@@ -1142,7 +1142,7 @@ static struct isert_connection *isert_conn_create(struct rdma_cm_id *cm_id,
|
||||
|
||||
TRACE_ENTRY();
|
||||
|
||||
isert_conn = isert_conn_alloc();
|
||||
isert_conn = isert_conn_zalloc();
|
||||
if (unlikely(!isert_conn)) {
|
||||
pr_err("Unable to allocate iser conn, cm_id:%p\n", cm_id);
|
||||
err = -ENOMEM;
|
||||
|
||||
Reference in New Issue
Block a user