[DRBD-cvs] svn commit by phil - r2964 - branches/drbd-8.0/drbd - A hair rising bug in a code path that only gets execute

drbd-cvs at lists.linbit.com drbd-cvs at lists.linbit.com
Tue Jul 3 13:51:12 CEST 2007


Author: phil
Date: 2007-07-03 13:51:11 +0200 (Tue, 03 Jul 2007)
New Revision: 2964

Modified:
   branches/drbd-8.0/drbd/drbd_receiver.c
Log:
A hair rising bug in a code path that only gets executed in 
case we left over an ee where it shold not be at unload time...


Modified: branches/drbd-8.0/drbd/drbd_receiver.c
===================================================================
--- branches/drbd-8.0/drbd/drbd_receiver.c	2007-07-02 09:54:58 UTC (rev 2963)
+++ branches/drbd-8.0/drbd/drbd_receiver.c	2007-07-03 11:51:11 UTC (rev 2964)
@@ -357,6 +357,7 @@
 	spin_lock_irq(&mdev->req_lock);
 	while(!list_empty(list)) {
 		le = list->next;
+		list_del(le);
 		e = list_entry(le, struct Tl_epoch_entry, w.list);
 		drbd_free_ee(mdev,e);
 		count++;



More information about the drbd-cvs mailing list