[DRBD-cvs] svn commit by phil - r2620 - in branches/drbd-0.7/drbd: . linux - Made DRBD to compile on 2.6.19

drbd-cvs at lists.linbit.com drbd-cvs at lists.linbit.com
Fri Dec 8 12:15:18 CET 2006


Author: phil
Date: 2006-12-08 12:15:17 +0100 (Fri, 08 Dec 2006)
New Revision: 2620

Added:
   branches/drbd-0.7/drbd/linux/config.h
Modified:
   branches/drbd-0.7/drbd/drbd_main.c
Log:
Made DRBD to compile on 2.6.19


Modified: branches/drbd-0.7/drbd/drbd_main.c
===================================================================
--- branches/drbd-0.7/drbd/drbd_main.c	2006-12-08 11:11:37 UTC (rev 2619)
+++ branches/drbd-0.7/drbd/drbd_main.c	2006-12-08 11:15:17 UTC (rev 2620)
@@ -1627,13 +1627,8 @@
 {
 	if (drbd_request_mempool)
 		mempool_destroy(drbd_request_mempool);
-	if (drbd_ee_cache && kmem_cache_destroy(drbd_ee_cache))
-		printk(KERN_ERR DEVICE_NAME
-		       ": kmem_cache_destroy(drbd_ee_cache) FAILED\n");
-	if (drbd_request_cache && kmem_cache_destroy(drbd_request_cache))
-		printk(KERN_ERR DEVICE_NAME
-		       ": kmem_cache_destroy(drbd_request_cache) FAILED\n");
-	// FIXME what can we do if we fail to destroy them?
+	if (drbd_ee_cache) kmem_cache_destroy(drbd_ee_cache);
+	if (drbd_request_cache) kmem_cache_destroy(drbd_request_cache);
 
 	drbd_request_mempool = NULL;
 	drbd_ee_cache        = NULL;

Added: branches/drbd-0.7/drbd/linux/config.h
===================================================================
--- branches/drbd-0.7/drbd/linux/config.h	2006-12-08 11:11:37 UTC (rev 2619)
+++ branches/drbd-0.7/drbd/linux/config.h	2006-12-08 11:15:17 UTC (rev 2620)
@@ -0,0 +1 @@
+/* Just an empty file. */



More information about the drbd-cvs mailing list