diff options
author | Jeff Cody <jcody@redhat.com> | 2014-01-27 16:09:12 -0500 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-01-31 22:05:03 +0100 |
commit | 55aff7f133b0eb20b2c8a2a3e1307240aab8044c (patch) | |
tree | 6591a6faf6ae829f7bdc19c2575f9d857a60214a /block/qcow2.c | |
parent | 136cd19d0522c03b6dccc3e344886feab6faee43 (diff) |
block: remove QED .bdrv_make_empty implementation
The QED .bdrv_make_empty() implementation does nothing but return
-ENOTSUP, which causes problems in bdrv_commit(). Since the function
stub exists for QED, it is called, which then always returns an error.
The proper way to not support an optional driver function stub is to
just not implement it, so let's remove the stub.
Signed-off-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Benoit Canet <benoit@irqsave.net>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/qcow2.c')
0 files changed, 0 insertions, 0 deletions