block: Use blk_next() in block-backend.c
commit74d1b8fc27a3dab5743b1fc5ea567640e2acf69b
authorMax Reitz <mreitz@redhat.com>
Wed, 16 Mar 2016 18:54:30 +0000 (16 19:54 +0100)
committerKevin Wolf <kwolf@redhat.com>
Thu, 17 Mar 2016 14:47:56 +0000 (17 15:47 +0100)
tree77f82dadd706a8c7aced4b010bcca60371b4c073
parentda27a00e274e0ea4cc3ffb4ffad1a92aef8bb15a
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>
block/block-backend.c