[DRBD-cvs] svn commit by phil - r2653 - trunk/drbd - When running multiple resyncs we triggered a bug, becau

drbd-cvs at lists.linbit.com drbd-cvs at lists.linbit.com
Tue Jan 2 21:10:43 CET 2007


Author: phil
Date: 2007-01-02 21:10:42 +0100 (Tue, 02 Jan 2007)
New Revision: 2653

Modified:
   trunk/drbd/drbd_worker.c
Log:
When running multiple resyncs we triggered a bug, because
after the first resync we freed mdev->m_uuid. Fixed this, needs 
testing.


Modified: trunk/drbd/drbd_worker.c
===================================================================
--- trunk/drbd/drbd_worker.c	2007-01-02 20:07:10 UTC (rev 2652)
+++ trunk/drbd/drbd_worker.c	2007-01-02 20:10:42 UTC (rev 2653)
@@ -433,6 +433,7 @@
 			kfree(mdev->p_uuid);
 			mdev->p_uuid = NULL;
 		}
+		drbd_send_uuids(mdev);
 	}
 
 	mdev->rs_total  = 0;



More information about the drbd-cvs mailing list