]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/infiniband/ulp/isert/ib_isert.c
iser-target: Split some logic in isert_connect_request to routines
authorSagi Grimberg <sagig@mellanox.com>
Sun, 29 Mar 2015 12:52:15 +0000 (15:52 +0300)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 8 Apr 2015 06:27:55 +0000 (23:27 -0700)
commitae9ea9ed38c9c8f6cf19c669d7b032cab3dadede
treeb642d5aa8ecdb3b2f4cd91abb2beebb6f03825d8
parentcf8ae95823ae99186729834a630f24ff9e7b1501
iser-target: Split some logic in isert_connect_request to routines

Move login buffer alloc/free code to dedicated
routines and introduce isert_conn_init which
initializes the connection lists and locks.

Simplifies and cleans up the code a little bit.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/infiniband/ulp/isert/ib_isert.c