From 6c3f7d7fd60d45c10885a3a7a5102772a414dd9a Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Tue, 21 Jul 2009 12:49:44 -0400 Subject: [PATCH] Fix typo in check for glusterfs format pools * src/storage_backend_fs.c: Replace = with == for comparison --- src/storage_backend_fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;