Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/dev/raidframe Pull up revision 1.15 (requested by o...
details: https://anonhg.NetBSD.org/src/rev/6db8dd6d33ad
branches: netbsd-1-5
changeset: 490583:6db8dd6d33ad
user: he <he%NetBSD.org@localhost>
date: Sat Feb 03 19:12:22 2001 +0000
description:
Pull up revision 1.15 (requested by oster):
Make sure we update the ``partitionSize'' field of the component
labels when doing a reconstruct or copyback, instead of leaving
behind possibly uninitialized junk, which could cause autoconfig
failure on reboot.
diffstat:
sys/dev/raidframe/rf_copyback.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 401df4622160 -r 6db8dd6d33ad sys/dev/raidframe/rf_copyback.c
--- a/sys/dev/raidframe/rf_copyback.c Sat Feb 03 18:41:57 2001 +0000
+++ b/sys/dev/raidframe/rf_copyback.c Sat Feb 03 19:12:22 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_copyback.c,v 1.14 2000/03/07 02:59:50 oster Exp $ */
+/* $NetBSD: rf_copyback.c,v 1.14.4.1 2001/02/03 19:12:22 he Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -242,6 +242,7 @@
c_label.row = frow;
c_label.column = fcol;
+ c_label.partitionSize = raidPtr->Disks[frow][fcol].partitionSize;
raidwrite_component_label( raidPtr->raid_cinfo[frow][fcol].ci_dev,
raidPtr->raid_cinfo[frow][fcol].ci_vp,
Home |
Main Index |
Thread Index |
Old Index