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
This commit is contained in:
Bart Van Assche
2015-09-23 17:02:31 +00:00
parent 7a23817eed
commit 5f46c87feb

View File

@@ -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) {