]> xenbits.xensource.com Git - libvirt.git/commitdiff
Fix typo in check for glusterfs format pools
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 21 Jul 2009 16:49:44 +0000 (12:49 -0400)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 21 Jul 2009 16:49:44 +0000 (12:49 -0400)
* src/storage_backend_fs.c: Replace = with == for comparison

src/storage_backend_fs.c

index ea7625db490f123fc7e4a27f21e31eacc5ab9ac2..ca6d32932a548956237c1bfeb0002ef38b756a79 100644 (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;