Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/raidframe Need to return EPASSTHROUGH for ioctls tha...
details: https://anonhg.NetBSD.org/src/rev/894ccc80644a
branches: trunk
changeset: 447973:894ccc80644a
user: oster <oster%NetBSD.org@localhost>
date: Tue Jan 29 23:42:06 2019 +0000
description:
Need to return EPASSTHROUGH for ioctls that arn't handled in compat.
Thanks to mlelstv for finding this!
diffstat:
sys/dev/raidframe/rf_compat80.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r e583a2cd7fb5 -r 894ccc80644a sys/dev/raidframe/rf_compat80.c
--- a/sys/dev/raidframe/rf_compat80.c Tue Jan 29 23:19:30 2019 +0000
+++ b/sys/dev/raidframe/rf_compat80.c Tue Jan 29 23:42:06 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_compat80.c,v 1.4 2019/01/29 09:28:50 pgoyette Exp $ */
+/* $NetBSD: rf_compat80.c,v 1.5 2019/01/29 23:42:06 oster Exp $ */
/*
* Copyright (c) 2017 Matthew R. Green
@@ -242,7 +242,7 @@
case RAIDFRAME_FAIL_DISK80:
return EPASSTHROUGH;
default:
- return EINVAL;
+ return EPASSTHROUGH;
}
switch (cmd) {
Home |
Main Index |
Thread Index |
Old Index