VERIFY(6) is a tape command. T10 has never defined a VERIFY(6) command

for disk or CD-ROM devices, so make sure scst_vdisk rejects it.

+

added the corresponding cleanups in scst_lib.c and fileio/common.c + updated scst_scsi_op_table

Signed-off-by: Bart Van Assche <bvanassche@acm.org>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4156 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2012-03-07 19:50:10 +00:00
parent 91a790b57d
commit 7d1ba6a2b0
3 changed files with 1 additions and 8 deletions
-2
View File
@@ -244,7 +244,6 @@ static int do_exec(struct vdisk_cmd *vcmd)
switch (opcode) {
case READ_6:
case WRITE_6:
case VERIFY_6:
lba_start = (((cdb[1] & 0x1f) << (BYTE * 2)) +
(cdb[2] << (BYTE * 1)) +
(cdb[3] << (BYTE * 0)));
@@ -394,7 +393,6 @@ static int do_exec(struct vdisk_cmd *vcmd)
break;
}
}
case VERIFY_6:
case VERIFY:
case VERIFY_12:
case VERIFY_16: