diff options
| author | thorpej <thorpej@NetBSD.org> | 2003-05-10 23:12:28 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 2003-05-10 23:12:28 +0000 |
| commit | e43fecb2285f4eef106b0044deb196e5228ad8d1 (patch) | |
| tree | 391f415db317ea09953273b5cb77feefcf2bf497 /sys/dev/mca | |
| parent | 0094fe5bbb33090e519792e7cf393cd900dde614 (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/dev/mca')
| -rw-r--r-- | sys/dev/mca/ed_mca.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/mca/ed_mca.c b/sys/dev/mca/ed_mca.c index e764f9cf624..f55a3916524 100644 --- a/sys/dev/mca/ed_mca.c +++ b/sys/dev/mca/ed_mca.c @@ -1,4 +1,4 @@ -/* $NetBSD: ed_mca.c,v 1.19 2003/05/02 08:45:27 dsl Exp $ */ +/* $NetBSD: ed_mca.c,v 1.20 2003/05/10 23:12:45 thorpej Exp $ */ /* * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ed_mca.c,v 1.19 2003/05/02 08:45:27 dsl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ed_mca.c,v 1.20 2003/05/10 23:12:45 thorpej Exp $"); #include "rnd.h" #include "locators.h" @@ -242,7 +242,7 @@ edmcastrategy(bp) * If end of partition, just return. */ if (DISKPART(bp->b_dev) != RAW_PART && - bounds_check_with_label(bp, ed->sc_dk.dk_label, + bounds_check_with_label(&ed->sc_dk, bp, (ed->sc_flags & (WDF_WLABEL|WDF_LABELLING)) != 0) <= 0) goto done; |
