summaryrefslogtreecommitdiffstats
path: root/include/scsi/libiscsi.h
diff options
context:
space:
mode:
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>2012-01-19 12:06:53 +0100
committerJames Bottomley <JBottomley@Parallels.com>2012-02-19 15:08:54 +0100
commit3c5c48011809045881d30e197577ef1dca9a3e72 (patch)
tree82298a961ddafede28cffe5c3664101be70d90f6 /include/scsi/libiscsi.h
parent[SCSI] lpfc 8.3.29: Update driver version to 8.3.29 (diff)
downloadlinux-3c5c48011809045881d30e197577ef1dca9a3e72.tar.xz
linux-3c5c48011809045881d30e197577ef1dca9a3e72.zip
[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/libiscsi.h')
-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 */