]> git.baikalelectronics.ru Git - kernel.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)
commit32c62867e3ffdc49a73504f4d232b2cf29564a6a
tree0c1a9e05cb2ff75337ba0d1bd9254487fa257fbf
parent23e625353775a5368160219a409d575e9deb24e8
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.

   1f5f52c909534f02e80759ccf505cb328e926ab3
   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