diff options
Diffstat (limited to 'include/scsi/scsi_transport_iscsi.h')
-rw-r--r-- | include/scsi/scsi_transport_iscsi.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/scsi/scsi_transport_iscsi.h b/include/scsi/scsi_transport_iscsi.h index 7fff94b3b2a8..bf8f52965675 100644 --- a/include/scsi/scsi_transport_iscsi.h +++ b/include/scsi/scsi_transport_iscsi.h | |||
@@ -101,6 +101,8 @@ struct iscsi_transport { | |||
101 | void (*destroy_conn) (struct iscsi_cls_conn *conn); | 101 | void (*destroy_conn) (struct iscsi_cls_conn *conn); |
102 | int (*set_param) (struct iscsi_cls_conn *conn, enum iscsi_param param, | 102 | int (*set_param) (struct iscsi_cls_conn *conn, enum iscsi_param param, |
103 | char *buf, int buflen); | 103 | char *buf, int buflen); |
104 | int (*get_ep_param) (struct iscsi_endpoint *ep, enum iscsi_param param, | ||
105 | char *buf); | ||
104 | int (*get_conn_param) (struct iscsi_cls_conn *conn, | 106 | int (*get_conn_param) (struct iscsi_cls_conn *conn, |
105 | enum iscsi_param param, char *buf); | 107 | enum iscsi_param param, char *buf); |
106 | int (*get_session_param) (struct iscsi_cls_session *session, | 108 | int (*get_session_param) (struct iscsi_cls_session *session, |
@@ -160,8 +162,9 @@ struct iscsi_cls_conn { | |||
160 | void *dd_data; /* LLD private data */ | 162 | void *dd_data; /* LLD private data */ |
161 | struct iscsi_transport *transport; | 163 | struct iscsi_transport *transport; |
162 | uint32_t cid; /* connection id */ | 164 | uint32_t cid; /* connection id */ |
165 | struct mutex ep_mutex; | ||
166 | struct iscsi_endpoint *ep; | ||
163 | 167 | ||
164 | int active; /* must be accessed with the connlock */ | ||
165 | struct device dev; /* sysfs transport/container device */ | 168 | struct device dev; /* sysfs transport/container device */ |
166 | }; | 169 | }; |
167 | 170 | ||
@@ -222,6 +225,7 @@ struct iscsi_endpoint { | |||
222 | void *dd_data; /* LLD private data */ | 225 | void *dd_data; /* LLD private data */ |
223 | struct device dev; | 226 | struct device dev; |
224 | uint64_t id; | 227 | uint64_t id; |
228 | struct iscsi_cls_conn *conn; | ||
225 | }; | 229 | }; |
226 | 230 | ||
227 | /* | 231 | /* |