scst.h: Clarify data direction comments

I think the comments in scst.h for data_direction and expected_data_direction
can be made more clear. The patch below makes the comments for these two
variables more detailed.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5121 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2013-11-19 05:41:15 +00:00
parent 5475aa9a47
commit 41f25c3e2e
+5 -2
View File
@@ -2086,10 +2086,13 @@ struct scst_cmd {
int timeout; /* CDB execution timeout in seconds */
int retries; /* Amount of retries that will be done by SCSI mid-level */
/* SCSI data direction, one of SCST_DATA_* constants */
/*
* Data direction derived from the opcode and the ANSI T10 SCSI specs.
* One of SCST_DATA_* constants.
*/
scst_data_direction data_direction;
/* Remote initiator supplied values, if any */
/* Values supplied by the initiator in the transport layer header, if any */
scst_data_direction expected_data_direction;
int expected_transfer_len;
int expected_out_transfer_len; /* for bidi writes */