summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_disklabel.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/subr_disklabel.c')
-rw-r--r--sys/kern/subr_disklabel.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/kern/subr_disklabel.c b/sys/kern/subr_disklabel.c
index c1da783..8d4a6fd 100644
--- a/sys/kern/subr_disklabel.c
+++ b/sys/kern/subr_disklabel.c
@@ -42,7 +42,7 @@
* SUCH DAMAGE.
*
* @(#)ufs_disksubr.c 8.5 (Berkeley) 1/21/94
- * $Id: ufs_disksubr.c,v 1.12 1995/03/18 06:32:48 davidg Exp $
+ * $Id: ufs_disksubr.c,v 1.13 1995/03/18 06:38:04 davidg Exp $
*/
#include <sys/param.h>
@@ -68,6 +68,13 @@
* allocated.
*/
+/*
+ * For portability with historic industry practice, the
+ * cylinder number has to be maintained in the `b_resid'
+ * field.
+ */
+#define b_cylinder b_resid
+
void
disksort(ap, bp)
register struct buf *ap, *bp;
OpenPOWER on IntegriCloud