From cfc83f0b4fe2afbed3ba62e18315ffcdd9805f86 Mon Sep 17 00:00:00 2001 From: Lee Duncan Date: Fri, 22 Mar 2013 15:43:28 -0700 Subject: [PATCH] Reservation type not needed to register. --- test-tool/iscsi-support.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test-tool/iscsi-support.c b/test-tool/iscsi-support.c index 1c091a2..7bf3aa6 100644 --- a/test-tool/iscsi-support.c +++ b/test-tool/iscsi-support.c @@ -683,9 +683,7 @@ prout_reregister_key_fails(struct iscsi_context *iscsi, int lun, poc.service_action_reservation_key = sark; task = iscsi_persistent_reserve_out_sync(iscsi, lun, SCSI_PERSISTENT_RESERVE_REGISTER, - SCSI_PERSISTENT_RESERVE_SCOPE_LU, - SCSI_PERSISTENT_RESERVE_TYPE_WRITE_EXCLUSIVE, - &poc); + SCSI_PERSISTENT_RESERVE_SCOPE_LU, 0, &poc); if (task == NULL) { logging(LOG_NORMAL, "[FAILED] Failed to send PROUT command: %s",