diff -Nru drbd-8.2.6.orig/drbd/drbd_main.c drbd-8.2.6/drbd/drbd_main.c
--- drbd-8.2.6.orig/drbd/drbd_main.c	2008-05-27 10:50:56.000000000 +0200
+++ drbd-8.2.6/drbd/drbd_main.c	2008-09-15 01:10:55.000000000 +0200
@@ -2564,7 +2564,7 @@
 
 	if (minor_table) {
 		if (drbd_proc)
-			remove_proc_entry("drbd", &proc_root);
+			remove_proc_entry("drbd", NULL);
 		i = minor_count;
 		while (i--) {
 			struct drbd_conf        *mdev  = minor_to_mdev(i);
@@ -2786,7 +2786,7 @@
 	/*
 	 * register with procfs
 	 */
-	drbd_proc = create_proc_entry("drbd",  S_IFREG | S_IRUGO , &proc_root);
+	drbd_proc = create_proc_entry("drbd",  S_IFREG | S_IRUGO , NULL);
 
 	if (!drbd_proc)	{
 		printk(KERN_ERR "drbd: unable to register proc file\n");
