> > Please note that, however, I've tested this change, and it is
> > working fine on my machine.
>
> Thanks for the raport, the proposed change is fine with me.
> Care to generate a real patch?
>
Here it is :
4 [14:52] rol@donald:/kernels> diff -uN
linux-2.5.56/drivers/cdrom/cdrom.c
linux-2.5.56-work/drivers/cdrom/cdrom.c
--- linux-2.5.56/drivers/cdrom/cdrom.c 2003-01-10 21:11:26.000000000
+0100
+++ linux-2.5.56-work/drivers/cdrom/cdrom.c 2003-01-12
14:30:55.000000000 +0100
@@ -2579,7 +2579,9 @@
return;
cdrom_sysctl_header = register_sysctl_table(cdrom_root_table,
1);
+#ifdef CONFIG_PROC_FS
cdrom_root_table->child->de->owner = THIS_MODULE;
+#endif
/* set the defaults */
cdrom_sysctl_settings.autoclose = autoclose;
Regards,
Paul Rolland, rol@as2917.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/