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/raidframe | |
| 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/raidframe')
| -rw-r--r-- | sys/dev/raidframe/rf_netbsdkintf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/raidframe/rf_netbsdkintf.c b/sys/dev/raidframe/rf_netbsdkintf.c index 337eeed596c..0ac791067be 100644 --- a/sys/dev/raidframe/rf_netbsdkintf.c +++ b/sys/dev/raidframe/rf_netbsdkintf.c @@ -1,4 +1,4 @@ -/* $NetBSD: rf_netbsdkintf.c,v 1.158 2003/05/02 08:45:28 dsl Exp $ */ +/* $NetBSD: rf_netbsdkintf.c,v 1.159 2003/05/10 23:12:46 thorpej Exp $ */ /*- * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc. * All rights reserved. @@ -111,7 +111,7 @@ ***********************************************************/ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.158 2003/05/02 08:45:28 dsl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.159 2003/05/10 23:12:46 thorpej Exp $"); #include <sys/param.h> #include <sys/errno.h> @@ -706,7 +706,7 @@ raidstrategy(bp) wlabel = rs->sc_flags & (RAIDF_WLABEL | RAIDF_LABELLING); if (DISKPART(bp->b_dev) != RAW_PART) - if (bounds_check_with_label(bp, lp, wlabel) <= 0) { + if (bounds_check_with_label(&rs->sc_dkdev, bp, wlabel) <= 0) { db1_printf(("Bounds check failed!!:%d %d\n", (int) bp->b_blkno, (int) wlabel)); biodone(bp); |
