c1d789e rgmanager: Fix reference count handling

1 file Authored by lon 13 years ago, Committed by fabbione 13 years ago,
    rgmanager: Fix reference count handling
    
    rgmanager feeds reference counts to resource-agents so they can track
    when to actually clean up (i.e. when there are no other references).
    A problem was found where rgmanager was incorrectly presenting a higher
    reference count than expected while stopping, preventing multi-instance
    resources (specifically clusterfs.sh) from cleaning up.
    
    Resolves: rhbz#692771
    
    Signed-off-by: Lon Hohberger <lhh@redhat.com>
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>