summaryrefslogtreecommitdiff
path: root/sys/kern/subr_disklabel.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1996-12-01 16:34:41 +0000
committerBruce Evans <bde@FreeBSD.org>1996-12-01 16:34:41 +0000
commit4eb73cdafffefcf65741a80033ac3d9815e54c5b (patch)
tree2dd3ab4d8da334245d122c8d10db460d0d47fb9e /sys/kern/subr_disklabel.c
parent4958bbd17589233e18bd939384639b4bb719818b (diff)
Notes
Diffstat (limited to 'sys/kern/subr_disklabel.c')
-rw-r--r--sys/kern/subr_disklabel.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/kern/subr_disklabel.c b/sys/kern/subr_disklabel.c
index fc1e24e67216..6221df0a985c 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";