Message ID | 659e4cdba6ef4c651737852777c8c93d27b38040.1510021573.git.jcody@redhat.com |
---|---|
State | New |
Headers | show |
Series | Don't write headers if BDS is INACTIVE | expand |
diff --git a/block/vhdx.c b/block/vhdx.c index 7ae4589..9956933 100644 --- a/block/vhdx.c +++ b/block/vhdx.c @@ -1008,13 +1008,6 @@ static int vhdx_open(BlockDriverState *bs, QDict *options, int flags, goto fail; } - if (flags & BDRV_O_RDWR) { - ret = vhdx_update_headers(bs, s, false, NULL); - if (ret < 0) { - goto fail; - } - } - /* TODO: differencing files */ return 0;