target: Correct transport_wait_for_tasks() documentation
authorBart Van Assche <bart.vanassche@sandisk.com>
Tue, 10 Jan 2017 18:03:28 +0000 (10:03 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Thu, 9 Feb 2017 08:39:12 +0000 (00:39 -0800)
commit2d4760ee4720d5f0eeda770ce248244166676283
tree02a4bc942dc32f86779046843be42150ecaead70
parent3a1e7ca64f2dae69536054c42b7b90e480db1045
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 <bart.vanassche@sandisk.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Andy Grover <agrover@redhat.com>
Cc: David Disseldorp <ddiss@suse.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_transport.c