Module Name: src
Committed By: oster
Date: Tue Jun 28 03:13:27 UTC 2022
Modified Files:
src/sys/dev/raidframe: rf_compat80.c
Log Message:
RAIDframe must be initialized for the RAIDFRAME_FAIL_DISK80 ioctl.
Reported-by: [email protected]
Reported-by: [email protected]
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/dev/raidframe/rf_compat80.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_compat80.c
diff -u src/sys/dev/raidframe/rf_compat80.c:1.16 src/sys/dev/raidframe/rf_compat80.c:1.17
--- src/sys/dev/raidframe/rf_compat80.c:1.16 Sat Dec 11 19:24:21 2021
+++ src/sys/dev/raidframe/rf_compat80.c Tue Jun 28 03:13:27 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_compat80.c,v 1.16 2021/12/11 19:24:21 mrg Exp $ */
+/* $NetBSD: rf_compat80.c,v 1.17 2022/06/28 03:13:27 oster Exp $ */
/*
* Copyright (c) 2017 Matthew R. Green
@@ -315,11 +315,11 @@ raidframe_ioctl_80(struct raid_softc *rs
case RAIDFRAME_CHECK_COPYBACK_STATUS_EXT80:
case RAIDFRAME_GET_INFO80:
case RAIDFRAME_GET_COMPONENT_LABEL80:
+ case RAIDFRAME_FAIL_DISK80:
if (!rf_inited(rs))
return ENXIO;
break;
case RAIDFRAME_CONFIGURE80:
- case RAIDFRAME_FAIL_DISK80:
break;
default:
return EPASSTHROUGH;