From 5f46c87febbf83fb9c60796cfad9c31b653731ef Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Wed, 23 Sep 2015 17:02:31 +0000 Subject: [PATCH] scst_tg: Let the unavailable filter accept more commands git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6518 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/scst_tg.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scst/src/scst_tg.c b/scst/src/scst_tg.c index be84d62c7..2ab483608 100644 --- a/scst/src/scst_tg.c +++ b/scst/src/scst_tg.c @@ -267,6 +267,12 @@ static bool scst_tg_accept(struct scst_cmd *cmd) 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: return true; case SERVICE_ACTION_IN_16: switch (cmd->cdb[1] & 0x1f) {