summaryrefslogtreecommitdiff
path: root/include/scsi
diff options
context:
space:
mode:
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>2012-01-19 03:06:53 -0800
committerJames Bottomley <JBottomley@Parallels.com>2012-02-19 08:08:54 -0600
commit3c5c48011809045881d30e197577ef1dca9a3e72 (patch)
tree82298a961ddafede28cffe5c3664101be70d90f6 /include/scsi
parent331954cfd89890b246ee2d0acd911593b987f603 (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/scsi')
-rw-r--r--include/scsi/libiscsi.h1
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 {
char *password;
char *password_in;
char *targetname;
+ char *targetalias;
char *ifacename;
char *initiatorname;
/* control data */