Commit bcd8c64b authored by Christoph Hellwig's avatar Christoph Hellwig

[PATCH] Fix devfs botch in IDE naming

Linus, could you please apply this patch so all thos poor devfs
users get their disks back?
parent 8cfde7d5
......@@ -81,10 +81,6 @@ void devfs_add_partitioned(struct gendisk *disk)
{
char dirname[64], symlink[16];
if (disk->devfs_name[0] != '\0')
sprintf(disk->devfs_name, "%s/disc%d", disk->disk_name,
disk->first_minor >> disk->minor_shift);
devfs_mk_dir(disk->devfs_name);
devfs_mk_bdev(MKDEV(disk->major, disk->first_minor),
S_IFBLK|S_IRUSR|S_IWUSR,
......
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