aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2009-03-05 15:46:05 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-03-13 16:29:12 -0400
commit40a06e755d8524cd0b24f795e8bdce5ad19fc41b (patch)
tree63e2ecb26254460fcadaaea612e5ab411625ba13 /include
parent4d1083509a69a36cc1394f188b7b8956e5526a16 (diff)
[SCSI] libiscsi: pass session failure a session struct
The api for conn and session failures is akward because one takes a conn from the lib and one takes a session from the class. This syncs up the interfaces to use structs from the lib. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'include')
-rw-r--r--include/scsi/libiscsi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/scsi/libiscsi.h b/include/scsi/libiscsi.h
index 84eded91b945..7ffaed2f94dd 100644
--- a/include/scsi/libiscsi.h
+++ b/include/scsi/libiscsi.h
@@ -378,7 +378,7 @@ extern void iscsi_conn_stop(struct iscsi_cls_conn *, int);
378extern int iscsi_conn_bind(struct iscsi_cls_session *, struct iscsi_cls_conn *, 378extern int iscsi_conn_bind(struct iscsi_cls_session *, struct iscsi_cls_conn *,
379 int); 379 int);
380extern void iscsi_conn_failure(struct iscsi_conn *conn, enum iscsi_err err); 380extern void iscsi_conn_failure(struct iscsi_conn *conn, enum iscsi_err err);
381extern void iscsi_session_failure(struct iscsi_cls_session *cls_session, 381extern void iscsi_session_failure(struct iscsi_session *session,
382 enum iscsi_err err); 382 enum iscsi_err err);
383extern int iscsi_conn_get_param(struct iscsi_cls_conn *cls_conn, 383extern int iscsi_conn_get_param(struct iscsi_cls_conn *cls_conn,
384 enum iscsi_param param, char *buf); 384 enum iscsi_param param, char *buf);