mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
target: add support for the WRITE_VERIFY command
Some legacy OS use WRITE_VERIFY on hard disks. Signed-off-by: Bernhard Kohl <[email protected]> Signed-off-by: Nicholas Bellinger <[email protected]>
This commit is contained in:
parent
33933a0e96
commit
66246617ab
1 changed files with 1 additions and 0 deletions
|
|
@ -2481,6 +2481,7 @@ static int transport_generic_cmd_sequencer(
|
|||
cmd->se_cmd_flags |= SCF_SCSI_DATA_SG_IO_CDB;
|
||||
break;
|
||||
case WRITE_10:
|
||||
case WRITE_VERIFY:
|
||||
sectors = transport_get_sectors_10(cdb, cmd, §or_ret);
|
||||
if (sector_ret)
|
||||
goto out_unsupported_cdb;
|
||||
|
|
|
|||
Loading…
Reference in a new issue