[SCSI] qla4xxx: export iface name
Export the name of iface session is attached to. This is needed so tools like iscsiadm/iscsistart can match the sessions to userspace ifaces when rebuilding iscsid's state during boot. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
This commit is contained in:
parent
95d31262b3
commit
de37920b87
|
@ -213,6 +213,7 @@ static mode_t ql4_attr_is_visible(int param_type, int param)
|
||||||
case ISCSI_PARAM_FIRST_BURST:
|
case ISCSI_PARAM_FIRST_BURST:
|
||||||
case ISCSI_PARAM_MAX_RECV_DLENGTH:
|
case ISCSI_PARAM_MAX_RECV_DLENGTH:
|
||||||
case ISCSI_PARAM_MAX_XMIT_DLENGTH:
|
case ISCSI_PARAM_MAX_XMIT_DLENGTH:
|
||||||
|
case ISCSI_PARAM_IFACE_NAME:
|
||||||
return S_IRUGO;
|
return S_IRUGO;
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue