mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
target: Correct transport_wait_for_tasks() documentation
transport_wait_for_tasks() not only waits for command completion but also sets CMD_T_STOP. Additionally, this function is not only called by frontend drivers but also by the target core. Update the transport_wait_for_tasks() documentation to reflect this. Signed-off-by: Bart Van Assche <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Andy Grover <[email protected]> Cc: David Disseldorp <[email protected]> Signed-off-by: Nicholas Bellinger <[email protected]>
This commit is contained in:
parent
3a1e7ca64f
commit
2d4760ee47
1 changed files with 2 additions and 5 deletions
|
|
@ -2765,11 +2765,8 @@ __transport_wait_for_tasks(struct se_cmd *cmd, bool fabric_stop,
|
|||
}
|
||||
|
||||
/**
|
||||
* transport_wait_for_tasks - wait for completion to occur
|
||||
* @cmd: command to wait
|
||||
*
|
||||
* Called from frontend fabric context to wait for storage engine
|
||||
* to pause and/or release frontend generated struct se_cmd.
|
||||
* transport_wait_for_tasks - set CMD_T_STOP and wait for t_transport_stop_comp
|
||||
* @cmd: command to wait on
|
||||
*/
|
||||
bool transport_wait_for_tasks(struct se_cmd *cmd)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue