Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/kqueue]: src/sys/miscfs/fdesc support DTYPE_KQUEUE



details:   https://anonhg.NetBSD.org/src/rev/37677b546611
branches:  kqueue
changeset: 512364:37677b546611
user:      lukem <lukem%NetBSD.org@localhost>
date:      Tue Jul 10 13:59:16 2001 +0000

description:
support DTYPE_KQUEUE

diffstat:

 sys/miscfs/fdesc/fdesc_vnops.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r f1defa04e5e6 -r 37677b546611 sys/miscfs/fdesc/fdesc_vnops.c
--- a/sys/miscfs/fdesc/fdesc_vnops.c    Tue Jul 10 13:58:51 2001 +0000
+++ b/sys/miscfs/fdesc/fdesc_vnops.c    Tue Jul 10 13:59:16 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fdesc_vnops.c,v 1.64 2001/06/16 08:28:39 jdolecek Exp $        */
+/*     $NetBSD: fdesc_vnops.c,v 1.64.2.1 2001/07/10 13:59:16 lukem Exp $       */
 
 /*
  * Copyright (c) 1992, 1993
@@ -490,6 +490,7 @@
 
        case DTYPE_SOCKET:
        case DTYPE_PIPE:
+       case DTYPE_KQUEUE:
                FILE_USE(fp);
                error = (*fp->f_ops->fo_stat)(fp, &stb, p);
                FILE_UNUSE(fp, p);
@@ -645,6 +646,7 @@
        switch (fp->f_type) {
        case DTYPE_VNODE:
        case DTYPE_SOCKET:
+       case DTYPE_KQUEUE:
                error = 0;
                break;
 



Home | Main Index | Thread Index | Old Index