diff options
author | bde <bde@FreeBSD.org> | 1996-12-01 16:34:41 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-12-01 16:34:41 +0000 |
commit | 12ce4505add778056c459947c4cf13a0f2aa98c5 (patch) | |
tree | 2dd3ab4d8da334245d122c8d10db460d0d47fb9e /sys/kern/subr_disklabel.c | |
parent | 83d353ee92777e757e5a9a45e7dbe3a470befa83 (diff) | |
download | FreeBSD-src-12ce4505add778056c459947c4cf13a0f2aa98c5.zip FreeBSD-src-12ce4505add778056c459947c4cf13a0f2aa98c5.tar.gz |
Removed all references to b_cylinder (aka b_cylin). It was evil and
hasn't been used for a year or two since disksort() started sorting
on b_pblkno.
Diffstat (limited to 'sys/kern/subr_disklabel.c')
-rw-r--r-- | sys/kern/subr_disklabel.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/kern/subr_disklabel.c b/sys/kern/subr_disklabel.c index fc1e24e..6221df0 100644 --- a/sys/kern/subr_disklabel.c +++ b/sys/kern/subr_disklabel.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)ufs_disksubr.c 8.5 (Berkeley) 1/21/94 - * $Id: ufs_disksubr.c,v 1.26 1996/09/20 17:39:44 bde Exp $ + * $Id: ufs_disksubr.c,v 1.27 1996/12/01 11:25:10 sos Exp $ */ #include <sys/param.h> @@ -62,13 +62,6 @@ * 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 tqdisksort(ap, bp) struct buf_queue_head *ap; @@ -186,7 +179,6 @@ readdisklabel(dev, strat, lp) bp->b_bcount = lp->d_secsize; bp->b_flags &= ~B_INVAL; bp->b_flags |= B_BUSY | B_READ; - bp->b_cylinder = LABELSECTOR / lp->d_secpercyl; (*strat)(bp); if (biowait(bp)) msg = "I/O error"; |