turn off scary looking debug messages.
This commit is contained in:
parent
8b72765e39
commit
746e138036
@ -245,7 +245,9 @@ node_details_t *node;
|
|||||||
/* Empty (start) path? */
|
/* Empty (start) path? */
|
||||||
if (user_fullpath[0] == '\0') {
|
if (user_fullpath[0] == '\0') {
|
||||||
node->inode_nr = 0;
|
node->inode_nr = 0;
|
||||||
|
#if 0
|
||||||
printf("vfs:lookup_rel: returning ENOENT\n");
|
printf("vfs:lookup_rel: returning ENOENT\n");
|
||||||
|
#endif
|
||||||
return ENOENT;
|
return ENOENT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -73,7 +73,9 @@ int rw_flag; /* READING or WRITING */
|
|||||||
return(err_code);
|
return(err_code);
|
||||||
}
|
}
|
||||||
if (((f->filp_mode) & (rw_flag == READING ? R_BIT : W_BIT)) == 0) {
|
if (((f->filp_mode) & (rw_flag == READING ? R_BIT : W_BIT)) == 0) {
|
||||||
|
#if 0
|
||||||
printf("vfs:read_write: returning error\n");
|
printf("vfs:read_write: returning error\n");
|
||||||
|
#endif
|
||||||
return(f->filp_mode == FILP_CLOSED ? EIO : EBADF);
|
return(f->filp_mode == FILP_CLOSED ? EIO : EBADF);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,8 +37,10 @@ int flag; /* M3 means path may be in message */
|
|||||||
int r;
|
int r;
|
||||||
|
|
||||||
if (len > PATH_MAX) {
|
if (len > PATH_MAX) {
|
||||||
|
#if 0
|
||||||
printf("VFS: fetch_name: len (%d) > %d\n", len, PATH_MAX);
|
printf("VFS: fetch_name: len (%d) > %d\n", len, PATH_MAX);
|
||||||
util_stacktrace();
|
util_stacktrace();
|
||||||
|
#endif
|
||||||
err_code = ENAMETOOLONG;
|
err_code = ENAMETOOLONG;
|
||||||
return(EGENERIC);
|
return(EGENERIC);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user