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/53956: Havard Eidnes: raidframe fails t...



details:   https://anonhg.NetBSD.org/src/rev/0bc3da3dd2b9
branches:  trunk
changeset: 448756:0bc3da3dd2b9
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Feb 08 13:37:46 2019 +0000

description:
PR/53956: Havard Eidnes: raidframe fails to create raid set on disks.
The test to check if force was reversed when the code was factored out.

diffstat:

 sys/dev/raidframe/rf_disks.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 8dbaedf9c0bb -r 0bc3da3dd2b9 sys/dev/raidframe/rf_disks.c
--- a/sys/dev/raidframe/rf_disks.c      Fri Feb 08 09:57:01 2019 +0000
+++ b/sys/dev/raidframe/rf_disks.c      Fri Feb 08 13:37:46 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_disks.c,v 1.89 2017/01/13 13:01:13 christos Exp $   */
+/*     $NetBSD: rf_disks.c,v 1.90 2019/02/08 13:37:46 christos Exp $   */
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -60,7 +60,7 @@
  ***************************************************************/
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_disks.c,v 1.89 2017/01/13 13:01:13 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_disks.c,v 1.90 2019/02/08 13:37:46 christos Exp $");
 
 #include <dev/raidframe/raidframevar.h>
 
@@ -705,7 +705,7 @@
     int again)
 {
        printf("Hosed component: %s\n", &cfgPtr->devnames[0][hosed_column][0]);
-       if (!cfgPtr->force)
+       if (cfgPtr->force)
                return;
 
        /* we'll fail this component, as if there are



Home | Main Index | Thread Index | Old Index