mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 19:21:26 +00:00
Cleanups
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4325 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -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 */
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user