From mboxrd@z Thu Jan 1 00:00:00 1970 From: rmccabe@sourceware.org Date: 29 Nov 2006 16:39:35 -0000 Subject: [Cluster-devel] conga/ricci/modules/storage LVM.cpp Message-ID: <20061129163935.2793.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: conga Changes by: rmccabe at sourceware.org 2006-11-29 16:39:35 Modified files: ricci/modules/storage: LVM.cpp Log message: fix for creating a clustered logical volume Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/ricci/modules/storage/LVM.cpp.diff?cvsroot=cluster&r1=1.8&r2=1.9 --- conga/ricci/modules/storage/LVM.cpp 2006/11/01 21:27:04 1.8 +++ conga/ricci/modules/storage/LVM.cpp 2006/11/29 16:39:34 1.9 @@ -644,7 +644,8 @@ bool LVM::clustered_available() { - return get_locking_type() == "2"; + String locking_type = get_locking_type(); + return (locking_type == "2" || locking_type == "3"); } bool @@ -713,7 +714,7 @@ void LVM::check_locking() { - if (get_locking_type() == "2") { + if (clustered_available()) { if (!cluster_quorate()) throw ClusterNotQuorateError();