Searched hist:"55 b110f24ec765a09cfb7f4c013fcd90dd807628" (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/ |
H A D | block.c | diff 55b110f24ec765a09cfb7f4c013fcd90dd807628 Thu Sep 20 14:13:18 CDT 2012 Jeff Cody <jcody@redhat.com> block: make bdrv_set_enable_write_cache() modify open_flags
bdrv_set_enable_write_cache() sets the bs->enable_write_cache flag, but without the flag recorded in bs->open_flags, then next time a reopen() is performed the enable_write_cache setting may be inadvertently lost.
This will set the flag in open_flags, so it is preserved across reopens.
Signed-off-by: Jeff Cody <jcody@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|