Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 230733
Collapse All | Expand All

(-)drbd/drbd_main.c.orig (-2 / +2 lines)
Lines 2564-2570 Link Here
2564
2564
2565
	if (minor_table) {
2565
	if (minor_table) {
2566
		if (drbd_proc)
2566
		if (drbd_proc)
2567
			remove_proc_entry("drbd", &proc_root);
2567
			remove_proc_entry("drbd", NULL);
2568
		i = minor_count;
2568
		i = minor_count;
2569
		while (i--) {
2569
		while (i--) {
2570
			struct drbd_conf        *mdev  = minor_to_mdev(i);
2570
			struct drbd_conf        *mdev  = minor_to_mdev(i);
Lines 2786-2792 Link Here
2786
	/*
2786
	/*
2787
	 * register with procfs
2787
	 * register with procfs
2788
	 */
2788
	 */
2789
	drbd_proc = create_proc_entry("drbd",  S_IFREG | S_IRUGO , &proc_root);
2789
	drbd_proc = create_proc_entry("drbd",  S_IFREG | S_IRUGO , NULL);
2790
2790
2791
	if (!drbd_proc)	{
2791
	if (!drbd_proc)	{
2792
		printk(KERN_ERR "drbd: unable to register proc file\n");
2792
		printk(KERN_ERR "drbd: unable to register proc file\n");

Return to bug 230733