From 97c5259476a17f0d2207b92642bdbb4fedced1ad Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Tue, 23 Feb 2016 04:34:24 +0000 Subject: [PATCH] Revert r6813 in (experimental) attempt to stay SPC complying git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6814 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/dev_handlers/scst_vdisk.c | 1 - scst/src/scst_tg.c | 10 ---------- 2 files changed, 11 deletions(-) diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index fb9c64ec6..80aad71aa 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -3547,7 +3547,6 @@ static bool vdisk_no_fd_allowed_commands(const struct scst_cmd *cmd) switch (cmd->cdb[0]) { case TEST_UNIT_READY: - case GET_EVENT_STATUS_NOTIFICATION: case INQUIRY: case MODE_SENSE: case MODE_SENSE_10: diff --git a/scst/src/scst_tg.c b/scst/src/scst_tg.c index ba3567ba0..b610fa6f9 100644 --- a/scst/src/scst_tg.c +++ b/scst/src/scst_tg.c @@ -283,8 +283,6 @@ static int scst_tg_accept_standby(struct scst_cmd *cmd) TRACE_ENTRY(); switch (cmd->cdb[0]) { - case TEST_UNIT_READY: - case GET_EVENT_STATUS_NOTIFICATION: case INQUIRY: case MODE_SENSE: case MODE_SENSE_10: @@ -348,18 +346,10 @@ static int scst_tg_accept_unav(struct scst_cmd *cmd) TRACE_ENTRY(); switch (cmd->cdb[0]) { - case TEST_UNIT_READY: - case GET_EVENT_STATUS_NOTIFICATION: case INQUIRY: - case MODE_SENSE: - case MODE_SENSE_10: case READ_CAPACITY: case REPORT_LUNS: case REQUEST_SENSE: - case RELEASE: - case RELEASE_10: - case RESERVE: - case RESERVE_10: case READ_BUFFER: case WRITE_BUFFER: res = SCST_ALUA_CHECK_OK;