From: Daniel P. Berrange Date: Tue, 21 Jul 2009 16:49:44 +0000 (-0400) Subject: Fix typo in check for glusterfs format pools X-Git-Tag: v0.7.0~141 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c3f7d7fd60d45c10885a3a7a5102772a414dd9a;p=thirdparty%2Flibvirt.git Fix typo in check for glusterfs format pools * src/storage_backend_fs.c: Replace = with == for comparison --- diff --git a/src/storage_backend_fs.c b/src/storage_backend_fs.c index ea7625db49..ca6d32932a 100644 --- a/src/storage_backend_fs.c +++ b/src/storage_backend_fs.c @@ -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;