diff options
author | bde <bde@FreeBSD.org> | 1998-08-23 11:43:29 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-08-23 11:43:29 +0000 |
commit | 9ba1aae697b71ae930dfcd9db78b06dcae0e31d7 (patch) | |
tree | cb5bdb88596e21a7b2970098824351646265b674 /sys/miscfs/deadfs | |
parent | 1275a52cea911bb1052f091dacd6db2c27d851e2 (diff) | |
download | FreeBSD-src-9ba1aae697b71ae930dfcd9db78b06dcae0e31d7.zip FreeBSD-src-9ba1aae697b71ae930dfcd9db78b06dcae0e31d7.tar.gz |
Enabled Lite2 fix for reading from dead ttys.
Diffstat (limited to 'sys/miscfs/deadfs')
-rw-r--r-- | sys/miscfs/deadfs/dead_vnops.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/miscfs/deadfs/dead_vnops.c b/sys/miscfs/deadfs/dead_vnops.c index fb11c2a..6e810f8 100644 --- a/sys/miscfs/deadfs/dead_vnops.c +++ b/sys/miscfs/deadfs/dead_vnops.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)dead_vnops.c 8.1 (Berkeley) 6/10/93 - * $Id: dead_vnops.c,v 1.22 1997/12/05 19:55:41 bde Exp $ + * $Id: dead_vnops.c,v 1.23 1997/12/15 03:09:44 wollman Exp $ */ #include <sys/param.h> @@ -144,20 +144,11 @@ dead_read(ap) if (chkvnlock(ap->a_vp)) panic("dead_read: lock"); -#if 0 - /* Lite2 behaviour */ /* * Return EOF for tty devices, EIO for others */ if ((ap->a_vp->v_flag & VISTTY) == 0) return (EIO); -#else - /* - * Return EOF for character devices, EIO for others - */ - if (ap->a_vp->v_type != VCHR) - return (EIO); -#endif return (0); } |