Skip to content
Snippets Groups Projects
Commit 7c8eece4 authored by Kevin Wolf's avatar Kevin Wolf
Browse files

block: Avoid bs->blk in bdrv_next()


We need to introduce a separate BdrvNextIterator struct that can keep
more state than just the current BDS in order to avoid using the bs->blk
pointer.

Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
Reviewed-by: default avatarMax Reitz <mreitz@redhat.com>
parent dde33812
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment