cluster/rgmanager/src/daemons rg_state.c
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL51
Changes by: lhh at sourceware.org 2008-02-05 19:47:17
Modified files:
rgmanager/src/daemons: rg_state.c
Log message:
Fix #431520
rgmanager/src/daemons/rg_state.c +6 -0
@@ -862,6 +862,12 @@return RG_EFAIL ; } +if (svcStatus.rs_owner == target) { +rg_unlock (&lockp); +/* Do not allow migration to its current owner! */ +return 0 ; + } +if (svcStatus.rs_owner !=my_id ()) {rg_unlock (&lockp);return RG_EFORWARD ;