Module Name: src Committed By: oster Date: Tue Jan 29 23:42:06 UTC 2019
Modified Files: src/sys/dev/raidframe: rf_compat80.c Log Message: Need to return EPASSTHROUGH for ioctls that arn't handled in compat. Thanks to mlelstv for finding this! To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 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.4 src/sys/dev/raidframe/rf_compat80.c:1.5 --- src/sys/dev/raidframe/rf_compat80.c:1.4 Tue Jan 29 09:28:50 2019 +++ src/sys/dev/raidframe/rf_compat80.c Tue Jan 29 23:42:06 2019 @@ -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 @@ int error; case RAIDFRAME_FAIL_DISK80: return EPASSTHROUGH; default: - return EINVAL; + return EPASSTHROUGH; } switch (cmd) {