[PATCH] devfs broken in pre2

Billy O'Connor (billy@oconnoronline.net)
Tue, 13 Aug 2002 03:11:34 -0400 (EDT)


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
-
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/