Skip to contentSkip to conversation

devfs broken in pre2

PATCH New Billy O'Connor 1 participant 1 message Aug 13, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 devfs broken in pre2

This brings back the number member of the hd_struct structure until the devfs_register_disc and devfs_register_partitions functions can be made to work without it. Thanks to John Kim for pointing out the location.

include/linux/genhd.h +1 -0
@@ -62,6 +62,7 @@
 	unsigned long start_sect;
 	unsigned long nr_sects;
 	devfs_handle_t de;              /* primary (master) devfs entry  */
+	int number;
 
 #ifdef CONFIG_BLK_STATS
 	/* Performance stats: */

--
Billy O'Connor