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.27 (requested by o...



details:   https://anonhg.NetBSD.org/src/rev/e6ea24b1dfb7
branches:  netbsd-1-5
changeset: 490584:e6ea24b1dfb7
user:      he <he%NetBSD.org@localhost>
date:      Sat Feb 03 19:12:40 2001 +0000

description:
Pull up revision 1.27 (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_reconstruct.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 6db8dd6d33ad -r e6ea24b1dfb7 sys/dev/raidframe/rf_reconstruct.c
--- a/sys/dev/raidframe/rf_reconstruct.c        Sat Feb 03 19:12:22 2001 +0000
+++ b/sys/dev/raidframe/rf_reconstruct.c        Sat Feb 03 19:12:40 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_reconstruct.c,v 1.26 2000/06/04 02:05:13 oster Exp $        */
+/*     $NetBSD: rf_reconstruct.c,v 1.26.2.1 2001/02/03 19:12:40 he Exp $       */
 /*
  * Copyright (c) 1995 Carnegie-Mellon University.
  * All rights reserved.
@@ -361,6 +361,7 @@
                c_label.column = col;
                c_label.clean = RF_RAID_DIRTY;
                c_label.status = rf_ds_optimal;
+               c_label.partitionSize = raidPtr->Disks[srow][scol].partitionSize;
 
                /* XXXX MORE NEEDED HERE */
                



Home | Main Index | Thread Index | Old Index