git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4325 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2012-05-25 18:52:02 +00:00
parent 92fdb23069
commit ab9478776d
2 changed files with 5 additions and 2 deletions

View File

@@ -4404,11 +4404,12 @@ int scst_scsi_exec_async(struct scst_cmd *cmd, void *data,
void (*done)(void *data, char *sense, int result, int resid));
#endif
void scst_write_same(struct scst_cmd *cmd);
struct scst_data_descriptor {
/* Both fields in blocks */
uint64_t sdd_lba;
uint64_t sdd_len;
};
void scst_write_same(struct scst_cmd *cmd);
#endif /* __SCST_H */

View File

@@ -4331,6 +4331,8 @@ static struct scst_cmd *scst_create_prepare_internal_cmd(
if (res->tgt_dev != NULL)
res->cpu_cmd_counter = scst_get();
TRACE(TRACE_SCSI, "New internal cmd %p (op 0x%x)", res, res->cdb[0]);
rc = scst_pre_parse(res);
sBUG_ON(rc != 0);