Skip to content

Commit 5f09e1f

Browse files
Adheer ChandravanshiJames Bottomley
authored andcommitted
[SCSI] libiscsi: Add missing prints for session and connection sysfs attrs
Signed-off-by: Adheer Chandravanshi <[email protected]> Signed-off-by: Vikas Chaudhary <[email protected]> Reviewed-by: Mike Christie <[email protected]> Signed-off-by: James Bottomley <[email protected]>
1 parent 9a2307b commit 5f09e1f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/scsi/libiscsi.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3312,6 +3312,9 @@ int iscsi_session_get_param(struct iscsi_cls_session *cls_session,
33123312
case ISCSI_PARAM_DATASEQ_INORDER_EN:
33133313
len = sprintf(buf, "%d\n", session->dataseq_inorder_en);
33143314
break;
3315+
case ISCSI_PARAM_DEF_TASKMGMT_TMO:
3316+
len = sprintf(buf, "%d\n", session->def_taskmgmt_tmo);
3317+
break;
33153318
case ISCSI_PARAM_ERL:
33163319
len = sprintf(buf, "%d\n", session->erl);
33173320
break;
@@ -3522,6 +3525,9 @@ int iscsi_conn_get_param(struct iscsi_cls_conn *cls_conn,
35223525
case ISCSI_PARAM_IPV6_TC:
35233526
len = sprintf(buf, "%u\n", conn->ipv6_traffic_class);
35243527
break;
3528+
case ISCSI_PARAM_IPV6_FLOW_LABEL:
3529+
len = sprintf(buf, "%u\n", conn->ipv6_flow_label);
3530+
break;
35253531
case ISCSI_PARAM_IS_FW_ASSIGNED_IPV6:
35263532
len = sprintf(buf, "%u\n", conn->is_fw_assigned_ipv6);
35273533
break;

0 commit comments

Comments
 (0)