mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 12:41:26 +00:00
Fix NDOB parsing for WRITE_SAME32
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6394 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -10206,7 +10206,7 @@ static int get_cdb_info_write_same32(struct scst_cmd *cmd,
|
||||
{
|
||||
cmd->lba = get_unaligned_be64(cmd->cdb + sdbops->info_lba_off);
|
||||
cmd->data_len = get_unaligned_be32(cmd->cdb + sdbops->info_len_off);
|
||||
return get_cdb_info_write_same(cmd, sdbops, cmd->cdb[1] & 1 /*NDOB*/);
|
||||
return get_cdb_info_write_same(cmd, sdbops, cmd->cdb[10] & 1 /*NDOB*/);
|
||||
}
|
||||
|
||||
static int scst_set_cmd_from_cdb_info(struct scst_cmd *cmd,
|
||||
|
||||
Reference in New Issue
Block a user