diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2011-08-14 21:42:56 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-08-27 10:36:54 -0400 |
commit | de37920b87a78e5e4a5e40e65548f1bf1cfb2f5c (patch) | |
tree | e44d7c1f86744f8cf75b0230025e81846f3421f1 | |
parent | 95d31262b3c1ba5b945a6e7b4f679532db622a27 (diff) |
[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>
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_os.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c index 456cd6f23f0f..ce391d5511e3 100644 --- a/drivers/scsi/qla4xxx/ql4_os.c +++ b/drivers/scsi/qla4xxx/ql4_os.c | |||
@@ -213,6 +213,7 @@ static mode_t ql4_attr_is_visible(int param_type, int param) | |||
213 | case ISCSI_PARAM_FIRST_BURST: | 213 | case ISCSI_PARAM_FIRST_BURST: |
214 | case ISCSI_PARAM_MAX_RECV_DLENGTH: | 214 | case ISCSI_PARAM_MAX_RECV_DLENGTH: |
215 | case ISCSI_PARAM_MAX_XMIT_DLENGTH: | 215 | case ISCSI_PARAM_MAX_XMIT_DLENGTH: |
216 | case ISCSI_PARAM_IFACE_NAME: | ||
216 | return S_IRUGO; | 217 | return S_IRUGO; |
217 | default: | 218 | default: |
218 | return 0; | 219 | return 0; |