READ10/WRITE10: Change these functions to sue the same signatures as the other READ/WRITE
Harmonize the signatures for READ10/WRITE10 to match the ones for READ12/16 and WRITE12/16 This breaks the API/ABI so this forces the next version of the library to bump the major version to 2.0 Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
This commit is contained in:
@@ -183,7 +183,7 @@ void read6_cb(struct iscsi_context *iscsi, int status, void *command_data, void
|
||||
|
||||
scsi_free_scsi_task(task);
|
||||
|
||||
if ((task = iscsi_read10_task(iscsi, clnt->lun, 0, clnt->block_size, clnt->block_size, read10_cb, private_data)) == NULL) {
|
||||
if ((task = iscsi_read10_task(iscsi, clnt->lun, 0, clnt->block_size, clnt->block_size, 0, 0, 0, 0, 0, read10_cb, private_data)) == NULL) {
|
||||
printf("failed to send read10 command\n");
|
||||
exit(10);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user