summaryrefslogtreecommitdiff
path: root/sys/arch/sun3/dev
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2003-05-10 23:12:28 +0000
committerthorpej <thorpej@NetBSD.org>2003-05-10 23:12:28 +0000
commite43fecb2285f4eef106b0044deb196e5228ad8d1 (patch)
tree391f415db317ea09953273b5cb77feefcf2bf497 /sys/arch/sun3/dev
parent0094fe5bbb33090e519792e7cf393cd900dde614 (diff)
Change bounds_check_with_label() to take a pointer to the disk structure,
rather than the label itself. This paves the way for some future changes.
Diffstat (limited to 'sys/arch/sun3/dev')
-rw-r--r--sys/arch/sun3/dev/xd.c4
-rw-r--r--sys/arch/sun3/dev/xy.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/sun3/dev/xd.c b/sys/arch/sun3/dev/xd.c
index afbe36d36b1..44101375d10 100644
--- a/sys/arch/sun3/dev/xd.c
+++ b/sys/arch/sun3/dev/xd.c
@@ -1,4 +1,4 @@
-/* $NetBSD: xd.c,v 1.43 2003/05/02 08:45:12 dsl Exp $ */
+/* $NetBSD: xd.c,v 1.44 2003/05/10 23:12:40 thorpej Exp $ */
/*
*
@@ -1070,7 +1070,7 @@ xdstrategy(bp)
* partition. Adjust transfer if needed, and signal errors or early
* completion. */
- if (bounds_check_with_label(bp, xd->sc_dk.dk_label,
+ if (bounds_check_with_label(&xd->sc_dk, bp,
(xd->flags & XD_WLABEL) != 0) <= 0)
goto done;
diff --git a/sys/arch/sun3/dev/xy.c b/sys/arch/sun3/dev/xy.c
index d7998ab1f33..4ecd51dc082 100644
--- a/sys/arch/sun3/dev/xy.c
+++ b/sys/arch/sun3/dev/xy.c
@@ -1,4 +1,4 @@
-/* $NetBSD: xy.c,v 1.45 2003/05/02 08:45:11 dsl Exp $ */
+/* $NetBSD: xy.c,v 1.46 2003/05/10 23:12:40 thorpej Exp $ */
/*
*
@@ -1027,7 +1027,7 @@ xystrategy(bp)
lp = xy->sc_dk.dk_label;
- if (bounds_check_with_label(bp, lp,
+ if (bounds_check_with_label(&xy->sc_dk, bp,
(xy->flags & XY_WLABEL) != 0) <= 0)
goto done;