aboutsummaryrefslogtreecommitdiff
path: root/compiler.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-05-08 16:51:44 +0200
committerKevin Wolf <kwolf@redhat.com>2012-05-10 10:32:12 +0200
commit0ac9377d043e03350b1ff8e21b927598c02fc7fb (patch)
treed88812122db0fa7c15f26e1dbf6fa1bf76d08b05 /compiler.h
parenta275fa42fa872828585e9e6a92f975e87776554b (diff)
downloadqemu-0ac9377d043e03350b1ff8e21b927598c02fc7fb.zip
qemu-0ac9377d043e03350b1ff8e21b927598c02fc7fb.tar.gz
qemu-0ac9377d043e03350b1ff8e21b927598c02fc7fb.tar.bz2
block: fully delete bs->file when closing
We are reusing bs->file across close/open, which may not cause any known bugs but is a recipe for trouble. Prefer bdrv_delete, and enjoy the new invariant in the implementation of bdrv_delete. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'compiler.h')
0 files changed, 0 insertions, 0 deletions