block: Use returned *file in bdrv_co_get_block_status
commitac987b30d0a97f14b82584921fc5ab3cd88c431b
authorFam Zheng <famz@redhat.com>
Tue, 26 Jan 2016 03:59:00 +0000 (26 11:59 +0800)
committerMax Reitz <mreitz@redhat.com>
Tue, 2 Feb 2016 16:50:47 +0000 (2 17:50 +0100)
treeccdb69753de73c1aa25839af5ac9f0fabd7f4ed0
parente0f100f57ceee919a7df7af316961b175ffef4e6
block: Use returned *file in bdrv_co_get_block_status

Now that all drivers return the right "file" pointer, we can use it.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 1453780743-16806-14-git-send-email-famz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/io.c