--- linux-2.5.30/fs/partitions/check.c.orig-nwf Thu Aug 1 20:03:25 2002
+++ linux-2.5.30/fs/partitions/check.c Thu Aug 1 20:07:13 2002
@@ -467,7 +467,7 @@
for (part = 1; part < max_p; part++) {
if ( unregister || (p[part].nr_sects < 1) ) {
devfs_unregister(p[part].de);
- dev->part[p].de = NULL;
+ p[part].de = NULL;
continue;
}
devfs_register_partition (dev, minor, part);
That look right?
--Nathan
-
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/