mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-28 11:31:16 +00:00
Fix typo in check for glusterfs format pools
* src/storage_backend_fs.c: Replace = with == for comparison
This commit is contained in:
parent
44948f5b69
commit
6c3f7d7fd6
@ -686,7 +686,7 @@ virStorageBackendFileSystemMount(virConnectPtr conn,
|
||||
}
|
||||
|
||||
if (pool->def->type == VIR_STORAGE_POOL_NETFS) {
|
||||
if (pool->def->source.format = VIR_STORAGE_POOL_NETFS_GLUSTERFS) {
|
||||
if (pool->def->source.format == VIR_STORAGE_POOL_NETFS_GLUSTERFS) {
|
||||
if (virAsprintf(&options, "direct-io-mode=1") == -1) {
|
||||
virReportOOMError(conn);
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user