Send Linux-ha-cvs mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Linux-ha-cvs digest..."


Today's Topics:

   1. Linux-HA CVS: crm by andrew from 
      ([email protected])


----------------------------------------------------------------------

Message: 1
Date: Sun, 19 Mar 2006 11:27:15 -0700 (MST)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: crm by andrew from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : andrew
Host    : 
Project : linux-ha
Module  : crm

Dir     : linux-ha/crm/pengine


Modified Files:
        native.c 


Log Message:
Dont send probes for orphan resources

===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/crm/pengine/native.c,v
retrieving revision 1.114
retrieving revision 1.115
diff -u -3 -r1.114 -r1.115
--- native.c    18 Mar 2006 17:23:48 -0000      1.114
+++ native.c    19 Mar 2006 18:27:14 -0000      1.115
@@ -1,4 +1,4 @@
-/* $Id: native.c,v 1.114 2006/03/18 17:23:48 andrew Exp $ */
+/* $Id: native.c,v 1.115 2006/03/19 18:27:14 andrew Exp $ */
 /* 
  * Copyright (C) 2004 Andrew Beekhof <[EMAIL PROTECTED]>
  * 
@@ -1974,6 +1974,10 @@
 
        CRM_CHECK(node != NULL, return FALSE);
 
+       if(rsc->orphan) {
+               return FALSE;
+       }
+       
        running = pe_find_node_id(rsc->known_on, node->details->id);
        if(running != NULL) {
                /* we already know the status of the resource on this node */




------------------------------

_______________________________________________
Linux-ha-cvs mailing list
[email protected]
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs


End of Linux-ha-cvs Digest, Vol 28, Issue 43
********************************************

Reply via email to