diff options
author | Matthew Dempsky <matthew@cvs.openbsd.org> | 2011-06-05 18:40:34 +0000 |
---|---|---|
committer | Matthew Dempsky <matthew@cvs.openbsd.org> | 2011-06-05 18:40:34 +0000 |
commit | c7100f5427c83eff7e8fb092a56cc25524f1454a (patch) | |
tree | 2467438696a81b790f7137ec8043756cc81388ea /sys/arch/vax/vsa | |
parent | 3fbd9089b990f19cc09a737dc7a4123759828e90 (diff) |
Drop kernel support for the useless DIOCWLABEL ioctl and prune a lot
of silly flag twiddling code in various disk drivers.
ok deraadt@, miod@
N.B., users will need a -current disklabel(8) to be able to write new
disklabels to disk now.
Diffstat (limited to 'sys/arch/vax/vsa')
-rw-r--r-- | sys/arch/vax/vsa/hdc9224.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/arch/vax/vsa/hdc9224.c b/sys/arch/vax/vsa/hdc9224.c index c73b2db7cd8..bf95d76b523 100644 --- a/sys/arch/vax/vsa/hdc9224.c +++ b/sys/arch/vax/vsa/hdc9224.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hdc9224.c,v 1.35 2011/06/03 21:14:11 matthew Exp $ */ +/* $OpenBSD: hdc9224.c,v 1.36 2011/06/05 18:40:33 matthew Exp $ */ /* $NetBSD: hdc9224.c,v 1.16 2001/07/26 15:05:09 wiz Exp $ */ /* * Copyright (c) 1996 Ludd, University of Lule}, Sweden. @@ -734,11 +734,6 @@ hdioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p) } break; - case DIOCWLABEL: - if ((flag & FWRITE) == 0) - error = EBADF; - break; - default: error = ENOTTY; break; |