On 25.04.2014 19:51, Kevin Wolf wrote:
Instead of having bdrv_open_flags() as a function that creates flags for several unrelated places and then adding open-coded flags on top, create a new function that derives the flags for bs->file from the flags for bs.Signed-off-by: Kevin Wolf <kw...@redhat.com> --- block.c | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-)
Reviewed-by: Max Reitz <mre...@redhat.com>