vvfat: Fix inherit_options flags
commit4f8e3a1f225ea51707e2eec0aef5e8758b4d7e40
authorFam Zheng <famz@redhat.com>
Thu, 15 Mar 2018 03:45:07 +0000 (15 11:45 +0800)
committerKevin Wolf <kwolf@redhat.com>
Mon, 19 Mar 2018 11:01:39 +0000 (19 12:01 +0100)
treebc9781bb8096729f7317e95c7807bb42103d927d
parentb76e4458b1eb3c32e9824fe6aa51f67d2b251748
vvfat: Fix inherit_options flags

Overriding flags violates the precedence rules of
bdrv_reopen_queue_child. Just like the read-only option, no-flush should
be put into the options. The same is done in bdrv_temp_snapshot_options.

Reported-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/vvfat.c