conga/ricci/modules/storage LVM.cpp
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
ricci/modules/storage/LVM.cpp +3 -2
@@ -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();