Searched hist:f1f25a2e2ea0cd3cdc7d01f2e0afbc4aef6fb853 (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/ |
H A D | block.c | diff f1f25a2e2ea0cd3cdc7d01f2e0afbc4aef6fb853 Fri Apr 25 12:04:55 CDT 2014 Kevin Wolf <kwolf@redhat.com> block: Fix open_flags in bdrv_reopen()
Use the same function as bdrv_open() for determining what the right flags for bs->file are. Without doing this, a reopen means that bs->file loses BDRV_O_CACHE_WB or BDRV_O_UNMAP if bs doesn't have it as well.
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>
|