block: Iterate over children in refresh_limits
commit66b129ac5ec0f1c66e5574e91bd1e19c4047888b
authorMax Reitz <mreitz@redhat.com>
Wed, 12 Jun 2019 16:15:03 +0000 (12 18:15 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 7 Sep 2020 10:31:31 +0000 (7 12:31 +0200)
treeb309024d446f269f0d758a250e92b64fa6395289
parentfb787f02a6dc1c6b459316376ccfe186ee85a2dc
block: Iterate over children in refresh_limits

Instead of looking at just bs->file and bs->backing, we should look at
all children that could end up receiving forwarded requests.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
block/io.c