summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--block.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/block.c b/block.c
index aa9b5ab..a517d72 100644
--- a/block.c
+++ b/block.c
@@ -1182,9 +1182,6 @@ int bdrv_open_backing_file(BlockDriverState *bs, QDict *options, Error **errp)
}
bdrv_set_backing_hd(bs, backing_hd);
- /* Recalculate the BlockLimits with the backing file */
- bdrv_refresh_limits(bs);
-
free_exit:
g_free(backing_filename);
return ret;
OpenPOWER on IntegriCloud