]> Zhao Yanbai Git Server - minix.git/commitdiff
turn off scary looking debug messages.
authorBen Gras <ben@minix3.org>
Thu, 7 May 2009 09:57:43 +0000 (09:57 +0000)
committerBen Gras <ben@minix3.org>
Thu, 7 May 2009 09:57:43 +0000 (09:57 +0000)
servers/vfs/path.c
servers/vfs/read.c
servers/vfs/utility.c

index dc3006afba312a591e5ecd54ecb49b4efb05c872..00127b9b11deab897f2c5fea9e2e625d7c3bd6c7 100644 (file)
@@ -245,7 +245,9 @@ node_details_t *node;
   /* Empty (start) path? */
   if (user_fullpath[0] == '\0') {
        node->inode_nr = 0;
+#if 0
        printf("vfs:lookup_rel: returning ENOENT\n");
+#endif
        return ENOENT;
   }
 
index 453cb85f27e33e15066b4766a5afbaecf33f323b..884b49459102652877c0886eef432194ac8549e7 100644 (file)
@@ -73,7 +73,9 @@ int rw_flag;                  /* READING or WRITING */
        return(err_code);
   }
   if (((f->filp_mode) & (rw_flag == READING ? R_BIT : W_BIT)) == 0) {
+#if 0
        printf("vfs:read_write: returning error\n");
+#endif
       return(f->filp_mode == FILP_CLOSED ? EIO : EBADF);
   }
 
index b79ed73dc5b98d09ea86096719c1c3fc31a03d0e..6427bbabab701414c1afb18ed8b82363671fd4c0 100644 (file)
@@ -37,8 +37,10 @@ int flag;                    /* M3 means path may be in message */
   int r;
 
   if (len > PATH_MAX) {
+#if 0
        printf("VFS: fetch_name: len (%d) > %d\n", len, PATH_MAX);
        util_stacktrace();
+#endif
        err_code = ENAMETOOLONG;
        return(EGENERIC);
   }