summaryrefslogtreecommitdiff
path: root/sys/dev/vnd.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-01-22 00:40:03 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-01-22 00:40:03 +0000
commit22c9c3850c0937b005b1a8552095891e59df87c2 (patch)
treee3633a0c9690c06d26a567eb2f2c6e937c26db61 /sys/dev/vnd.c
parent2122cf052cb864c6d41447b67783028f0ee3a145 (diff)
b_cylin -> b_cylinder; no functional change.
Diffstat (limited to 'sys/dev/vnd.c')
-rw-r--r--sys/dev/vnd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/vnd.c b/sys/dev/vnd.c
index a472e510bcb..ec6e527ac63 100644
--- a/sys/dev/vnd.c
+++ b/sys/dev/vnd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vnd.c,v 1.57 2005/12/29 20:02:03 pedro Exp $ */
+/* $OpenBSD: vnd.c,v 1.58 2006/01/22 00:40:02 miod Exp $ */
/* $NetBSD: vnd.c,v 1.26 1996/03/30 23:06:11 christos Exp $ */
/*
@@ -93,8 +93,6 @@ int vnddebug = 0x00;
#define VDB_IO 0x04
#endif
-#define b_cylin b_resid
-
/*
* vndunit is a bit weird. have to reconstitute the dev_t for
* DISKUNIT(), but with the minor masked off.
@@ -614,7 +612,7 @@ vndstrategy(bp)
/*
* Just sort by block number
*/
- nbp->vb_buf.b_cylin = nbp->vb_buf.b_blkno;
+ nbp->vb_buf.b_cylinder = nbp->vb_buf.b_blkno;
s = splbio();
disksort(&vnd->sc_tab, &nbp->vb_buf);
if (vnd->sc_tab.b_active < vnd->sc_maxactive) {