]> Git Repo - qemu.git/blobdiff - block/commit.c
block: Change BDS parameter of bdrv_open() to **
[qemu.git] / block / commit.c
index d4090cbf7de11ba9e6c8de3302ebaefeea55f901..acec4ac5a828da4d17361746a5593c3229d097f8 100644 (file)
@@ -198,13 +198,7 @@ void commit_start(BlockDriverState *bs, BlockDriverState *base,
         return;
     }
 
-    /* Once we support top == active layer, remove this check */
-    if (top == bs) {
-        error_setg(errp,
-                   "Top image as the active layer is currently unsupported");
-        return;
-    }
-
+    assert(top != bs);
     if (top == base) {
         error_setg(errp, "Invalid files for merge: top and base are the same");
         return;
This page took 0.022623 seconds and 4 git commands to generate.