turn off scary looking debug messages.
This commit is contained in:
parent
8b72765e39
commit
746e138036
3 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue