diff options
Diffstat (limited to 'drivers/scsi/iscsi_tcp.h')
-rw-r--r-- | drivers/scsi/iscsi_tcp.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/scsi/iscsi_tcp.h b/drivers/scsi/iscsi_tcp.h index f95e61b76f70..ba26741ac154 100644 --- a/drivers/scsi/iscsi_tcp.h +++ b/drivers/scsi/iscsi_tcp.h | |||
@@ -113,7 +113,10 @@ struct iscsi_tcp_recv { | |||
113 | int datadgst; | 113 | int datadgst; |
114 | }; | 114 | }; |
115 | 115 | ||
116 | struct iscsi_cls_conn; | ||
117 | |||
116 | struct iscsi_conn { | 118 | struct iscsi_conn { |
119 | struct iscsi_cls_conn *cls_conn; /* ptr to class connection */ | ||
117 | struct iscsi_hdr hdr; /* header placeholder */ | 120 | struct iscsi_hdr hdr; /* header placeholder */ |
118 | char hdrext[4*sizeof(__u16) + | 121 | char hdrext[4*sizeof(__u16) + |
119 | sizeof(__u32)]; | 122 | sizeof(__u32)]; |
@@ -143,7 +146,6 @@ struct iscsi_conn { | |||
143 | struct iscsi_mgmt_task *login_mtask; /* mtask used for login/text */ | 146 | struct iscsi_mgmt_task *login_mtask; /* mtask used for login/text */ |
144 | struct iscsi_mgmt_task *mtask; /* xmit mtask in progress */ | 147 | struct iscsi_mgmt_task *mtask; /* xmit mtask in progress */ |
145 | struct iscsi_cmd_task *ctask; /* xmit ctask in progress */ | 148 | struct iscsi_cmd_task *ctask; /* xmit ctask in progress */ |
146 | spinlock_t lock; /* FIXME: to be removed */ | ||
147 | 149 | ||
148 | /* old values for socket callbacks */ | 150 | /* old values for socket callbacks */ |
149 | void (*old_data_ready)(struct sock *, int); | 151 | void (*old_data_ready)(struct sock *, int); |