commit | ddccd9528d89ca4db30dab5229f6a0cceb095781 | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <stephen@networkplumber.org> | Thu May 18 09:18:11 2017 -0700 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Mon Jun 12 20:48:04 2017 -0400 |
tree | ab03d03002224d90e22b1ae7fd97ad7eacfc10dc | |
parent | 4bbd458eaa789959f23f4c998d30b972715e1013 [diff] |
scsi: storvsc: use in place iterator function In 4.12-rc1, new functions were added to support iterating over elements in the vmbus event ring. This patch uses them to simplify the ring buffer handling in virtual SCSI driver as well. Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>