Module Name:    src
Committed By:   christos
Date:           Fri Feb  8 13:37:46 UTC 2019

Modified Files:
        src/sys/dev/raidframe: rf_disks.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 src/sys/dev/raidframe/rf_disks.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/raidframe/rf_disks.c
diff -u src/sys/dev/raidframe/rf_disks.c:1.89 src/sys/dev/raidframe/rf_disks.c:1.90
--- src/sys/dev/raidframe/rf_disks.c:1.89	Fri Jan 13 08:01:13 2017
+++ src/sys/dev/raidframe/rf_disks.c	Fri Feb  8 08:37:46 2019
@@ -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 @@ rf_handle_hosed(RF_Raid_t *raidPtr, RF_C
     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

Reply via email to