]> git.baikalelectronics.ru Git - kernel.git/commit
IB/iser: Remove struct iscsi_iser_conn
authorAriel Nahum <arieln@mellanox.com>
Tue, 1 Apr 2014 13:28:39 +0000 (16:28 +0300)
committerRoland Dreier <roland@purestorage.com>
Tue, 1 Apr 2014 18:09:46 +0000 (11:09 -0700)
commitabc9b7c9974645b1c234b8ac11460b6d6bb9e4fc
treea0ee07cc5c114e5f33b22362ca863bfe7ef01834
parentb9028d16742b6077360f906076a75a011de79db1
IB/iser: Remove struct iscsi_iser_conn

The iscsi stack has existing mechanisms to link back and forth between
the iscsi connection and the iscsi transport (e.g iser/tcp) connection.

This is done through a dd_data pointer field in struct iscsi_conn
which can be set to point to the transport connection, etc.

The iscsi_iser_conn structure was used to get this linking done in
another way, which is uneeded and adds extra complication to the iser
code, so we just remove it.

Signed-off-by: Ariel Nahum <arieln@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/ulp/iser/iscsi_iser.c
drivers/infiniband/ulp/iser/iscsi_iser.h
drivers/infiniband/ulp/iser/iser_initiator.c
drivers/infiniband/ulp/iser/iser_memory.c
drivers/infiniband/ulp/iser/iser_verbs.c