get rid of #ifdef CHAOS stuff
authorBill Joy <wnj@ucbvax.Berkeley.EDU>
Sat, 7 Mar 1981 03:38:24 +0000 (19:38 -0800)
committerBill Joy <wnj@ucbvax.Berkeley.EDU>
Sat, 7 Mar 1981 03:38:24 +0000 (19:38 -0800)
SCCS-vsn: sys/kern/vfs_lookup.c 4.4
SCCS-vsn: sys/ufs/ffs/ufs_lookup.c 4.4
SCCS-vsn: sys/ufs/ufs/ufs_lookup.c 4.4

usr/src/sys/kern/vfs_lookup.c
usr/src/sys/ufs/ffs/ufs_lookup.c
usr/src/sys/ufs/ufs/ufs_lookup.c

index 8091f99..3ece3f3 100644 (file)
@@ -1,4 +1,4 @@
-/*     vfs_lookup.c    4.3     %G%     */
+/*     vfs_lookup.c    4.4     %G%     */
 
 #include "../h/param.h"
 #include "../h/systm.h"
 
 #include "../h/param.h"
 #include "../h/systm.h"
@@ -59,13 +59,6 @@ cloop:
        if(c == '\0')
                return(dp);
 
        if(c == '\0')
                return(dp);
 
-#ifdef CHAOS
-       if((dp->i_mode&IFMT) == IFCHR && cdevpath & (1 << major(dp->i_un.i_rdev)) ) {
-               u.u_dirp--;
-               return(dp);
-       }
-#endif
-
        /*
         * If there is another component,
         * Gather up name into
        /*
         * If there is another component,
         * Gather up name into
index 8543d48..97ec351 100644 (file)
@@ -1,4 +1,4 @@
-/*     ufs_lookup.c    4.3     %G%     */
+/*     ufs_lookup.c    4.4     %G%     */
 
 #include "../h/param.h"
 #include "../h/systm.h"
 
 #include "../h/param.h"
 #include "../h/systm.h"
@@ -59,13 +59,6 @@ cloop:
        if(c == '\0')
                return(dp);
 
        if(c == '\0')
                return(dp);
 
-#ifdef CHAOS
-       if((dp->i_mode&IFMT) == IFCHR && cdevpath & (1 << major(dp->i_un.i_rdev)) ) {
-               u.u_dirp--;
-               return(dp);
-       }
-#endif
-
        /*
         * If there is another component,
         * Gather up name into
        /*
         * If there is another component,
         * Gather up name into
index 8543d48..97ec351 100644 (file)
@@ -1,4 +1,4 @@
-/*     ufs_lookup.c    4.3     %G%     */
+/*     ufs_lookup.c    4.4     %G%     */
 
 #include "../h/param.h"
 #include "../h/systm.h"
 
 #include "../h/param.h"
 #include "../h/systm.h"
@@ -59,13 +59,6 @@ cloop:
        if(c == '\0')
                return(dp);
 
        if(c == '\0')
                return(dp);
 
-#ifdef CHAOS
-       if((dp->i_mode&IFMT) == IFCHR && cdevpath & (1 << major(dp->i_un.i_rdev)) ) {
-               u.u_dirp--;
-               return(dp);
-       }
-#endif
-
        /*
         * If there is another component,
         * Gather up name into
        /*
         * If there is another component,
         * Gather up name into