summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2019-02-08 13:37:46 +0000
committerchristos <christos@NetBSD.org>2019-02-08 13:37:46 +0000
commit061c8b3f41828c1a81f7c309a2a6599f76206f07 (patch)
treeff2c15ac15723a1a24805c4d93d332390d312cb9 /sys/dev/raidframe
parentbff1d977b58342359ca719f2f7447dc92fa4b690 (diff)
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 (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_disks.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/raidframe/rf_disks.c b/sys/dev/raidframe/rf_disks.c
index 89bb75834ea..cbd4ba3ab71 100644
--- a/sys/dev/raidframe/rf_disks.c
+++ b/sys/dev/raidframe/rf_disks.c
@@ -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_Config_t *cfgPtr, int hosed_column,
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