commit | 74d1b8fc27a3dab5743b1fc5ea567640e2acf69b | [log] [tgz] |
---|---|---|
author | Max Reitz <mreitz@redhat.com> | Wed Mar 16 19:54:30 2016 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Thu Mar 17 15:47:56 2016 +0100 |
tree | 77f82dadd706a8c7aced4b010bcca60371b4c073 | |
parent | da27a00e274e0ea4cc3ffb4ffad1a92aef8bb15a [diff] |
block: Use blk_next() in block-backend.c Instead of iterating directly through blk_backends, we can use blk_next() instead. This gives us some abstraction from the list itself which we can use to rename it, for example. Signed-off-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>