]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
ocfs2/cluster: Remove dropped region from o2hb quorum region bitmap
authorSunil Mushran <sunil.mushran@oracle.com>
Tue, 14 Dec 2010 22:14:28 +0000 (14:14 -0800)
committerJoel Becker <joel.becker@oracle.com>
Thu, 16 Dec 2010 08:46:10 +0000 (00:46 -0800)
Patch removes a dropped region from the quorum region bitmap maintained by o2hb.

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/cluster/heartbeat.c

index 9f26ac9be2a45d38e340bed6d51164492fab0ca6..9f21dd785364329bc093a008e9e0c90bc1673c57 100644 (file)
@@ -2009,6 +2009,7 @@ static void o2hb_heartbeat_group_drop_item(struct config_group *group,
        if (o2hb_global_heartbeat_active()) {
                clear_bit(reg->hr_region_num, o2hb_region_bitmap);
                clear_bit(reg->hr_region_num, o2hb_live_region_bitmap);
+               clear_bit(reg->hr_region_num, o2hb_quorum_region_bitmap);
        }
        hb_task = reg->hr_task;
        reg->hr_task = NULL;