2002-08-13 05:59:45

by Billy O'Connor

[permalink] [raw]
Subject: [PATCH] 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.

--- linux-2.4.19/include/linux/genhd.h 2002-08-12 16:51:43.000000000 -0400
+++ linux-2.4.19-new/include/linux/genhd.h 2002-08-12 16:52:32.000000000 -0400
@@ -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