Improve documentation for when tasks may be cancelled

This commit is contained in:
Ronnie Sahlberg
2012-08-31 16:18:59 -07:00
parent 6ef4bbd3e1
commit 5639b92d95

View File

@@ -276,7 +276,12 @@ struct scsi_task {
struct scsi_data_buffer *in_buffers;
};
/* This function will free a scsi task structure.
You may NOT cancel a task until the callback has been invoked
and the command has completed on the iscsi layer.
*/
EXTERN void scsi_free_scsi_task(struct scsi_task *task);
EXTERN void scsi_set_task_private_ptr(struct scsi_task *task, void *ptr);
EXTERN void *scsi_get_task_private_ptr(struct scsi_task *task);