[DRBD-cvs] svn commit by phil - r2656 - trunk/drbd - This time I got it right.

drbd-cvs at lists.linbit.com drbd-cvs at lists.linbit.com
Thu Jan 4 15:52:54 CET 2007


Author: phil
Date: 2007-01-04 15:52:53 +0100 (Thu, 04 Jan 2007)
New Revision: 2656

Modified:
   trunk/drbd/drbd_worker.c
Log:
This time I got it right. 


Modified: trunk/drbd/drbd_worker.c
===================================================================
--- trunk/drbd/drbd_worker.c	2007-01-04 13:25:51 UTC (rev 2655)
+++ trunk/drbd/drbd_worker.c	2007-01-04 14:52:53 UTC (rev 2656)
@@ -420,7 +420,8 @@
 				for ( i=Bitmap ; i<=History_end ; i++ ) {
 					_drbd_uuid_set(mdev,i,mdev->p_uuid[i]);
 				}
-				drbd_uuid_set(mdev,Current,mdev->p_uuid[Current]);
+				drbd_uuid_set(mdev,Bitmap,mdev->bc->md.uuid[Current]);
+				_drbd_uuid_set(mdev,Current,mdev->p_uuid[Current]);
 			} else {
 				ERR("mdev->p_uuid is NULL! BUG\n");
 			}



More information about the drbd-cvs mailing list