diff options
author | 2016-09-13 10:58:50 +0200 | |
---|---|---|
committer | 2016-09-14 13:19:57 -0400 | |
commit | e8f814202597e7416f6633793ec947d66b611895 (patch) | |
tree | b8b22fcabe34a9bc90a1c438d86b129e498cbda2 /CREDITS | |
parent | scsi: sym53c8xx_2: Use complete() instead complete_all() (diff) | |
download | linux-dev-e8f814202597e7416f6633793ec947d66b611895.tar.xz linux-dev-e8f814202597e7416f6633793ec947d66b611895.zip |
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 <daniel.wagner@bmw-carit.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions