Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/wrstuden-devbsize]: src/sys/dev/raidframe DEF_BSIZE is right for raidsiz...
details: https://anonhg.NetBSD.org/src/rev/483496a7ce70
branches: wrstuden-devbsize
changeset: 479764:483496a7ce70
user: wrstuden <wrstuden%NetBSD.org@localhost>
date: Wed Dec 22 00:13:24 1999 +0000
description:
DEF_BSIZE is right for raidsize().
diffstat:
sys/dev/raidframe/rf_netbsdkintf.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r 8f835483e6d0 -r 483496a7ce70 sys/dev/raidframe/rf_netbsdkintf.c
--- a/sys/dev/raidframe/rf_netbsdkintf.c Tue Dec 21 23:15:51 1999 +0000
+++ b/sys/dev/raidframe/rf_netbsdkintf.c Wed Dec 22 00:13:24 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_netbsdkintf.c,v 1.29.8.1 1999/12/21 23:19:54 wrstuden Exp $ */
+/* $NetBSD: rf_netbsdkintf.c,v 1.29.8.2 1999/12/22 00:13:24 wrstuden Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -400,7 +400,7 @@
size = -1;
else
size = lp->d_partitions[part].p_size *
- (lp->d_secsize / DEV_BSIZE);
+ (lp->d_secsize / DEF_BSIZE);
if (omask == 0 && raidclose(dev, 0, S_IFBLK, curproc))
return (-1);
@@ -2014,12 +2014,11 @@
/* ARGSUSED */
int
-raidread_component_label(dev, b_vp, component_label, bshift, bsize)
+raidread_component_label(dev, b_vp, component_label, bshift)
dev_t dev;
struct vnode *b_vp;
RF_ComponentLabel_t *component_label;
int bshift;
- int bsize;
{
struct buf *bp;
int error;
Home |
Main Index |
Thread Index |
Old Index