diff options
author | Vikas Chaudhary <vikas.chaudhary@qlogic.com> | 2012-01-19 06:06:53 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-02-19 09:08:54 -0500 |
commit | 3c5c48011809045881d30e197577ef1dca9a3e72 (patch) | |
tree | 82298a961ddafede28cffe5c3664101be70d90f6 /include | |
parent | 331954cfd89890b246ee2d0acd911593b987f603 (diff) |
[SCSI] libiscsi: Added support to show targetalias in sysfs
sysfs patch to view target alias:
/sys/class/iscsi_session/session*/targetalias
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/scsi/libiscsi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/libiscsi.h b/include/scsi/libiscsi.h index cedcff371c88..2e42e9a0e0b6 100644 --- a/include/scsi/libiscsi.h +++ b/include/scsi/libiscsi.h | |||
@@ -284,6 +284,7 @@ struct iscsi_session { | |||
284 | char *password; | 284 | char *password; |
285 | char *password_in; | 285 | char *password_in; |
286 | char *targetname; | 286 | char *targetname; |
287 | char *targetalias; | ||
287 | char *ifacename; | 288 | char *ifacename; |
288 | char *initiatorname; | 289 | char *initiatorname; |
289 | /* control data */ | 290 | /* control data */ |