kernel - Remove some debug output
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 8 Aug 2016 02:44:33 +0000 (19:44 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 8 Aug 2016 02:44:33 +0000 (19:44 -0700)
* Remove "Warning: cache_resolve: ncp '%s' was unlinked" debug output.
  This was originally added to validate a particular code path and is
  no longer needed.

sys/kern/vfs_cache.c

index 5dad6ab..50b39b1 100644 (file)
@@ -3363,11 +3363,8 @@ restart:
         * have a way to re-resolve the disconnected ncp, which will
         * result in inconsistencies in the cdir/nch for proc->p_fd.
         */
-       if (ncp->nc_flag & NCF_DESTROYED) {
-               kprintf("Warning: cache_resolve: ncp '%s' was unlinked\n",
-                       ncp->nc_name);
+       if (ncp->nc_flag & NCF_DESTROYED)
                return(EINVAL);
-       }
 
        /*
         * Mount points need special handling because the parent does not