warning: path belong to fid_create() */
| 67 | |
| 68 | /* warning: path belong to fid_create() */ |
| 69 | static FSFile *fid_create(FSDevice *s1, char *path, uint32_t uid) |
| 70 | { |
| 71 | FSFile *f; |
| 72 | f = mallocz(sizeof(*f)); |
| 73 | f->path = path; |
| 74 | f->uid = uid; |
| 75 | return f; |
| 76 | } |
| 77 | |
| 78 | |
| 79 | static int errno_table[][2] = { |