[Ocfs2-tools-commits] mfasheh commits r953 - trunk/ocfs2_hb_ctl
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Thu Jun 16 13:39:06 CDT 2005
Author: mfasheh
Date: 2005-06-16 13:39:04 -0500 (Thu, 16 Jun 2005)
New Revision: 953
Modified:
trunk/ocfs2_hb_ctl/ocfs2_hb_ctl.c
Log:
* pass the OCFS2_FLAG_HEARTBEAT_DEV_OK flag in the second ocfs2_open
in ocfs2_hb_ctl
Modified: trunk/ocfs2_hb_ctl/ocfs2_hb_ctl.c
===================================================================
--- trunk/ocfs2_hb_ctl/ocfs2_hb_ctl.c 2005-06-16 16:24:51 UTC (rev 952)
+++ trunk/ocfs2_hb_ctl/ocfs2_hb_ctl.c 2005-06-16 18:39:04 UTC (rev 953)
@@ -63,7 +63,8 @@
ocfs2_filesys *fs = NULL;
struct o2cb_region_desc desc;
- err = ocfs2_open(device, OCFS2_FLAG_RO, 0, 0, &fs);
+ err = ocfs2_open(device, OCFS2_FLAG_RO | OCFS2_FLAG_HEARTBEAT_DEV_OK,
+ 0, 0, &fs);
if (err)
goto bail;
More information about the Ocfs2-tools-commits
mailing list