diff options
Diffstat (limited to 'include/scsi/libiscsi.h')
-rw-r--r-- | include/scsi/libiscsi.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/scsi/libiscsi.h b/include/scsi/libiscsi.h index a9a9e869188d..4b3e3c15121a 100644 --- a/include/scsi/libiscsi.h +++ b/include/scsi/libiscsi.h | |||
@@ -215,7 +215,7 @@ struct iscsi_conn { | |||
215 | uint32_t eh_abort_cnt; | 215 | uint32_t eh_abort_cnt; |
216 | }; | 216 | }; |
217 | 217 | ||
218 | struct iscsi_queue { | 218 | struct iscsi_pool { |
219 | struct kfifo *queue; /* FIFO Queue */ | 219 | struct kfifo *queue; /* FIFO Queue */ |
220 | void **pool; /* Pool of elements */ | 220 | void **pool; /* Pool of elements */ |
221 | int max; /* Max number of elements */ | 221 | int max; /* Max number of elements */ |
@@ -274,10 +274,10 @@ struct iscsi_session { | |||
274 | 274 | ||
275 | int cmds_max; /* size of cmds array */ | 275 | int cmds_max; /* size of cmds array */ |
276 | struct iscsi_cmd_task **cmds; /* Original Cmds arr */ | 276 | struct iscsi_cmd_task **cmds; /* Original Cmds arr */ |
277 | struct iscsi_queue cmdpool; /* PDU's pool */ | 277 | struct iscsi_pool cmdpool; /* PDU's pool */ |
278 | int mgmtpool_max; /* size of mgmt array */ | 278 | int mgmtpool_max; /* size of mgmt array */ |
279 | struct iscsi_mgmt_task **mgmt_cmds; /* Original mgmt arr */ | 279 | struct iscsi_mgmt_task **mgmt_cmds; /* Original mgmt arr */ |
280 | struct iscsi_queue mgmtpool; /* Mgmt PDU's pool */ | 280 | struct iscsi_pool mgmtpool; /* Mgmt PDU's pool */ |
281 | }; | 281 | }; |
282 | 282 | ||
283 | /* | 283 | /* |
@@ -350,8 +350,8 @@ extern void iscsi_requeue_ctask(struct iscsi_cmd_task *ctask); | |||
350 | /* | 350 | /* |
351 | * generic helpers | 351 | * generic helpers |
352 | */ | 352 | */ |
353 | extern void iscsi_pool_free(struct iscsi_queue *, void **); | 353 | extern void iscsi_pool_free(struct iscsi_pool *); |
354 | extern int iscsi_pool_init(struct iscsi_queue *, int, void ***, int); | 354 | extern int iscsi_pool_init(struct iscsi_pool *, int, void ***, int); |
355 | 355 | ||
356 | /* | 356 | /* |
357 | * inline functions to deal with padding. | 357 | * inline functions to deal with padding. |