Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/raidframe PR/44340: Brian Buhrow: Raid sets containi...



details:   https://anonhg.NetBSD.org/src/rev/3cf970e4b088
branches:  trunk
changeset: 760571:3cf970e4b088
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jan 07 19:52:18 2011 +0000

description:
PR/44340: Brian Buhrow: Raid sets containing wedges cannot be unconfigured
and reconfigured without a reboot.

diffstat:

 sys/dev/raidframe/rf_netbsdkintf.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 6e9434d9bd58 -r 3cf970e4b088 sys/dev/raidframe/rf_netbsdkintf.c
--- a/sys/dev/raidframe/rf_netbsdkintf.c        Fri Jan 07 19:37:51 2011 +0000
+++ b/sys/dev/raidframe/rf_netbsdkintf.c        Fri Jan 07 19:52:18 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_netbsdkintf.c,v 1.279 2010/12/22 05:51:19 christos Exp $    */
+/*     $NetBSD: rf_netbsdkintf.c,v 1.280 2011/01/07 19:52:18 christos Exp $    */
 /*-
  * Copyright (c) 1996, 1997, 1998, 2008 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -139,7 +139,7 @@
  ***********************************************************/
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.279 2010/12/22 05:51:19 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.280 2011/01/07 19:52:18 christos Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -993,6 +993,7 @@
                rs->sc_flags &= ~(RAIDF_INITED|RAIDF_SHUTDOWN);
 
        /* Detach the disk. */
+       dkwedge_delall(&rs->sc_dkdev);
        disk_detach(&rs->sc_dkdev);
        disk_destroy(&rs->sc_dkdev);
 



Home | Main Index | Thread Index | Old Index