Fix typo in check for glusterfs format pools

* src/storage_backend_fs.c: Replace = with == for comparison
This commit is contained in:
Daniel P. Berrange 2009-07-21 12:49:44 -04:00
parent 44948f5b69
commit 6c3f7d7fd6

View File

@ -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;