diff options
| author | Max Reitz | 2016-05-17 16:41:33 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2016-05-25 19:04:10 +0200 |
| commit | 6b574e09b34a10dbf8d9fb58aeaad77493826b97 (patch) | |
| tree | 5b1df42bc2d799c8a1b8a5ac71eb335f7a93a602 /blockdev.c | |
| parent | block: Assert !bs->refcnt in bdrv_close() (diff) | |
| download | qemu-6b574e09b34a10dbf8d9fb58aeaad77493826b97.tar.gz qemu-6b574e09b34a10dbf8d9fb58aeaad77493826b97.tar.xz qemu-6b574e09b34a10dbf8d9fb58aeaad77493826b97.zip | |
block: Drop bdrv_parent_cb_...() from bdrv_close()
bdrv_close() now asserts that the BDS's refcount is 0, therefore it
cannot have any parents and the bdrv_parent_cb_change_media() call is a
no-op.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions
