| 58 | }; |
| 59 | |
| 60 | static void fs_delete(FSDevice *fs, FSFile *f) |
| 61 | { |
| 62 | if (f->is_opened) |
| 63 | fs_close(fs, f); |
| 64 | free(f->path); |
| 65 | free(f); |
| 66 | } |
| 67 | |
| 68 | /* warning: path belong to fid_create() */ |
| 69 | static FSFile *fid_create(FSDevice *s1, char *path, uint32_t uid) |
nothing calls this directly
no test coverage detected