SCSI: remove LBDATA/PBDATA from the WriteSame10/16 signatures
Make LBA the third argument to the iscsi writesame functions
This commit is contained in:
@@ -55,8 +55,10 @@ int T0193_writesame16_wrprotect(const char *initiator, const char *url)
|
||||
/* Writesame16 with wrprotect */
|
||||
printf("WRITESAME16 with WRPROTECT ... ");
|
||||
for (i = 1; i <= 7; i++) {
|
||||
task = iscsi_writesame16_sync(iscsi, lun, buf, block_size,
|
||||
0, 1, 0, 0, 0, 0, i, 0);
|
||||
task = iscsi_writesame16_sync(iscsi, lun, 0,
|
||||
buf, block_size,
|
||||
1,
|
||||
0, 0, i, 0);
|
||||
if (task == NULL) {
|
||||
printf("[FAILED]\n");
|
||||
printf("Failed to send WRITESAME16 command: %s\n", iscsi_get_error(iscsi));
|
||||
|
||||
Reference in New Issue
Block a user