[Ocfs2-tools-devel] [PATCH 1/1] ocfs2_hb_ctl: Fix bug in stop_heartbeat()
Sunil Mushran
sunil.mushran at oracle.com
Fri May 23 15:44:38 PDT 2008
This patch is for the stack-user branch.
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
---
ocfs2_hb_ctl/ocfs2_hb_ctl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ocfs2_hb_ctl/ocfs2_hb_ctl.c b/ocfs2_hb_ctl/ocfs2_hb_ctl.c
index 1cca566..88c60a8 100644
--- a/ocfs2_hb_ctl/ocfs2_hb_ctl.c
+++ b/ocfs2_hb_ctl/ocfs2_hb_ctl.c
@@ -357,7 +357,7 @@ static errcode_t stop_heartbeat(struct hb_ctl_options *hbo)
if (!err) {
region_desc->r_persist = 1; /* hb_ctl is for reals */
region_desc->r_service = hbo->service;
- err = o2cb_group_leave(NULL, region_desc);
+ err = o2cb_group_leave(&cluster, region_desc);
}
return err;
--
1.5.3.6
More information about the Ocfs2-tools-devel
mailing list