diff options
author | Vikas Chaudhary <vikas.chaudhary@qlogic.com> | 2012-01-19 03:06:53 -0800 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-02-19 08:08:54 -0600 |
commit | 3c5c48011809045881d30e197577ef1dca9a3e72 (patch) | |
tree | 82298a961ddafede28cffe5c3664101be70d90f6 /include/scsi/libiscsi.h | |
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/scsi/libiscsi.h')
-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 cedcff371c8..2e42e9a0e0b 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 */ |