[DRBD-cvs] svn commit by phil - r2457 - trunk/drbd - Suggested by
Simon..
drbd-cvs at lists.linbit.com
drbd-cvs at lists.linbit.com
Mon Sep 25 15:41:41 CEST 2006
Author: phil
Date: 2006-09-25 15:41:40 +0200 (Mon, 25 Sep 2006)
New Revision: 2457
Modified:
trunk/drbd/drbd_receiver.c
Log:
Suggested by Simon..
Modified: trunk/drbd/drbd_receiver.c
===================================================================
--- trunk/drbd/drbd_receiver.c 2006-09-25 13:23:46 UTC (rev 2456)
+++ trunk/drbd/drbd_receiver.c 2006-09-25 13:41:40 UTC (rev 2457)
@@ -1808,7 +1808,7 @@
return conn_mask;
}
if (hg < 0 &&
- mdev->state.role == Primary && mdev->state.disk != Negotiating ) {
+ mdev->state.role == Primary && mdev->state.disk >= Consistent ) {
ERR("I shall become SyncTarget, but I am primary!\n");
drbd_force_state(mdev,NS(conn,Disconnecting));
return conn_mask;
More information about the drbd-cvs
mailing list