Commit 86f59315 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] make devfs cdrom appear in the right place

parent a550c42f
...@@ -348,7 +348,7 @@ static void devfs_create_cdrom(struct gendisk *dev) ...@@ -348,7 +348,7 @@ static void devfs_create_cdrom(struct gendisk *dev)
cdroms = devfs_mk_dir (NULL, "cdroms", NULL); cdroms = devfs_mk_dir (NULL, "cdroms", NULL);
dev->number = devfs_alloc_unique_number(&cdrom_numspace); dev->number = devfs_alloc_unique_number(&cdrom_numspace);
sprintf(vname, "cdroms/cdrom%d", dev->number); sprintf(vname, "cdrom%d", dev->number);
if (dev->de) { if (dev->de) {
int pos; int pos;
devfs_handle_t slave; devfs_handle_t slave;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment