提交 c4824392 编写于 作者: C Cole Robinson

Remove erroneous lvm volume format check for backing store.

上级 a3d1fb9c
Mon Feb 16 17:55:50 EST 2009 Cole Robinson <crobinso@redhat.com>
* src/storage_backend_logical.c: Remove erroneous lvm volume
format check for backing store.
Mon Feb 16 17:53:24 EST 2009 Cole Robinson <crobinso@redhat.com> Mon Feb 16 17:53:24 EST 2009 Cole Robinson <crobinso@redhat.com>
* python/generate.py: Skip bindings for virSaveLastError and * python/generator.py: Skip bindings for virSaveLastError and
virFreeError virFreeError
Fri Feb 13 19:04:57 IST 2009 Mark McLoughlin <markmc@redhat.com> Fri Feb 13 19:04:57 IST 2009 Mark McLoughlin <markmc@redhat.com>
......
...@@ -582,12 +582,6 @@ virStorageBackendLogicalCreateVol(virConnectPtr conn, ...@@ -582,12 +582,6 @@ virStorageBackendLogicalCreateVol(virConnectPtr conn,
const char **cmdargv = cmdargvnew; const char **cmdargv = cmdargvnew;
if (vol->backingStore.path) { if (vol->backingStore.path) {
if (vol->backingStore.format !=
VIR_STORAGE_POOL_LOGICAL_LVM2) {
virStorageReportError(conn, VIR_ERR_INTERNAL_ERROR, "%s",
_("LVM snapshots must be backed by another LVM volume"));
return -1;
}
cmdargv = cmdargvsnap; cmdargv = cmdargvsnap;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册