Fix devfs' partition handling
Hi,
with / on an IDE harddisk the disks partitions do not appear in devfs, only the disc device. This is due to rescan_partitions being called twice and deleting but not re-creating the entries during the second call. Here's the patch:
fs/partitions/check.c +1 -0
@@ -262,6 +262,7 @@ p->nr_sects =0 ; p->reads = p->writes = p->read_sectors = p->write_sectors =0 ;devfs_unregister (p->de); + p->de =NULL ;kobject_unregister (&p->kobj); }
Have fun
Andre