Skip to content

Commit 55054e4

Browse files
sagigrimbergKeith Busch
authored andcommitted
fabrics: fix loop connect-all
When we check the trtype, we handle loop like fc which is wrong as it checks for the adrfam attribute in the discovery record. Signed-off-by: Sagi Grimberg <[email protected]>
1 parent 45ec6c6 commit 55054e4

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

fabrics.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,6 @@ static int connect_ctrl(struct nvmf_disc_rsp_page_entry *e)
808808
return -EINVAL;
809809
}
810810
break;
811-
default:
812811
case NVMF_TRTYPE_FC:
813812
switch (e->adrfam) {
814813
case NVMF_ADDR_FAMILY_FC:

0 commit comments

Comments
 (0)