/* Empty (start) path? */
if (user_fullpath[0] == '\0') {
node->inode_nr = 0;
+#if 0
printf("vfs:lookup_rel: returning ENOENT\n");
+#endif
return ENOENT;
}
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);
}
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);
}