--- drbd/drbd_main.c.orig 2008-07-21 17:54:12.000000000 +0300 +++ drbd/drbd_main.c 2008-07-21 17:55:08.000000000 +0300 @@ -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");