]> asedeno.scripts.mit.edu Git - linux.git/commit
vhost/scsi: Use safe iteration in vhost_scsi_complete_cmd_work()
authorByungchul Park <byungchul.park@lge.com>
Thu, 9 Nov 2017 00:00:21 +0000 (09:00 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 14 Nov 2017 21:57:39 +0000 (23:57 +0200)
commit816e85edff0f31bc8e4614eaaf9a0364406d7a8f
tree0c1a9e05cb2ff75337ba0d1bd9254487fa257fbf
parentc7cdff0e864713a089d7cb3a2b1136ba9a54881a
vhost/scsi: Use safe iteration in vhost_scsi_complete_cmd_work()

The following patch changed the behavior which originally did safe
iteration. Make it safe as it was.

   12bdcbd539c6327c09da0503c674733cb2d82cb5
   vhost/scsi: Don't reinvent the wheel but use existing llist API

Signed-off-by: Byungchul Park <byungchul.park@lge.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/scsi.c