patch-2.4.15 linux/drivers/cdrom/cdrom.c
Next file: linux/drivers/char/Config.in
Previous file: linux/drivers/block/xd.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Fri Nov 16 10:14:08 2001
- Orig file:
v2.4.14/linux/drivers/cdrom/cdrom.c
- Orig date:
Mon Nov 5 15:55:29 2001
diff -u --recursive --new-file v2.4.14/linux/drivers/cdrom/cdrom.c linux/drivers/cdrom/cdrom.c
@@ -2625,7 +2625,8 @@
#ifdef CONFIG_SYSCTL
cdrom_sysctl_register();
#endif
- devfs_handle = devfs_mk_dir(NULL, "cdroms", NULL);
+ if (!devfs_handle)
+ devfs_handle = devfs_mk_dir(NULL, "cdroms", NULL);
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)