diff options
| author | Daniel Wagner <[email protected]> | 2016-09-13 10:58:50 +0200 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2016-09-14 13:19:57 -0400 |
| commit | e8f814202597e7416f6633793ec947d66b611895 (patch) | |
| tree | b8b22fcabe34a9bc90a1c438d86b129e498cbda2 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | ba2f1293e95f071156f5a6660fb2316d4ea15c46 (diff) | |
scsi: virtio_scsi: Use complete() instead complete_all()
There is only one waiter for the completion, therefore there is no need
to use complete_all(). Let's make that clear by using complete() instead
of complete_all().
The usage pattern of the completion is:
waiter context waker context
virtscsi_tmf()
DECLARE_COMPLETION_ONSTACK()
virtscsi_kick_cmd()
wait_for_completion()
virtscsi_complete_free()
complete()
Signed-off-by: Daniel Wagner <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions