mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 11:35:19 +00:00
storage: eliminate unnecessary labels
Signed-off-by: Laine Stump <laine@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
e205c3ebfa
commit
322727a4cb
@ -749,7 +749,7 @@ storageBackendCreateQemuImgOpts(virStorageEncryptionInfoDefPtr encinfo,
|
|||||||
_("lazy_refcounts not supported with compat"
|
_("lazy_refcounts not supported with compat"
|
||||||
" level %s"),
|
" level %s"),
|
||||||
info->compat);
|
info->compat);
|
||||||
goto error;
|
return -1;
|
||||||
}
|
}
|
||||||
virBufferAddLit(&buf, "lazy_refcounts,");
|
virBufferAddLit(&buf, "lazy_refcounts,");
|
||||||
}
|
}
|
||||||
@ -759,9 +759,6 @@ storageBackendCreateQemuImgOpts(virStorageEncryptionInfoDefPtr encinfo,
|
|||||||
|
|
||||||
*opts = virBufferContentAndReset(&buf);
|
*opts = virBufferContentAndReset(&buf);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
error:
|
|
||||||
return -1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user