Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/sunos d_secpercyl is gone and we use the value fr...
details: https://anonhg.NetBSD.org/src/rev/eaffdc586852
branches: trunk
changeset: 342188:eaffdc586852
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Fri Dec 11 08:19:07 2015 +0000
description:
d_secpercyl is gone and we use the value from disklabel anyway.
diffstat:
sys/compat/sunos/sunos_ioctl.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diffs (29 lines):
diff -r 6cd8d393a213 -r eaffdc586852 sys/compat/sunos/sunos_ioctl.c
--- a/sys/compat/sunos/sunos_ioctl.c Fri Dec 11 08:12:18 2015 +0000
+++ b/sys/compat/sunos/sunos_ioctl.c Fri Dec 11 08:19:07 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunos_ioctl.c,v 1.65 2015/12/11 08:10:28 mlelstv Exp $ */
+/* $NetBSD: sunos_ioctl.c,v 1.66 2015/12/11 08:19:07 mlelstv Exp $ */
/*
* Copyright (c) 1993 Markus Wild.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunos_ioctl.c,v 1.65 2015/12/11 08:10:28 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunos_ioctl.c,v 1.66 2015/12/11 08:19:07 mlelstv Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -880,10 +880,6 @@
if (error)
break;
- if (pi.disklab->d_secpercyl == 0) {
- error = ERANGE; /* XXX */
- break;
- }
if (pi.pi_offset % label.d_secpercyl != 0) {
error = ERANGE; /* XXX */
break;
Home |
Main Index |
Thread Index |
Old Index