mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-18 21:26:31 +00:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user