On 3/7/22 6:56 PM, Wenchao Hao wrote:
> iscsi_alloc_conn() would alloc and initialize iscsi_cls_conn but do
> not expose it to userspace.
> iscsi_add_conn() would expose it to userspace.
>
> LLDs should split the alloc and register to 2 steps.
>
> And simplify iscsi_create_conn() with these helpe
iscsi_alloc_conn() would alloc and initialize iscsi_cls_conn but do
not expose it to userspace.
iscsi_add_conn() would expose it to userspace.
LLDs should split the alloc and register to 2 steps.
And simplify iscsi_create_conn() with these helper functions.
Signed-off-by: Wenchao Hao
Signed-off