Lines 214-219
Link Here
|
214 |
return exfat_mknod(&ef, path); |
214 |
return exfat_mknod(&ef, path); |
215 |
} |
215 |
} |
216 |
|
216 |
|
|
|
217 |
static int fuse_exfat_create(const char* path, mode_t mode, struct fuse_file_info* fi) |
218 |
{ |
219 |
exfat_debug("[%s] %s 0%ho", __func__, path, mode); |
220 |
|
221 |
int rc = exfat_mknod(&ef, path); |
222 |
if (rc != 0 ) |
223 |
return rc; |
224 |
|
225 |
return fuse_exfat_open(path, fi); |
226 |
} |
227 |
|
217 |
static int fuse_exfat_mkdir(const char* path, mode_t mode) |
228 |
static int fuse_exfat_mkdir(const char* path, mode_t mode) |
218 |
{ |
229 |
{ |
219 |
exfat_debug("[%s] %s 0%ho", __func__, path, mode); |
230 |
exfat_debug("[%s] %s 0%ho", __func__, path, mode); |
Lines 317-322
Link Here
|
317 |
.statfs = fuse_exfat_statfs, |
328 |
.statfs = fuse_exfat_statfs, |
318 |
.init = fuse_exfat_init, |
329 |
.init = fuse_exfat_init, |
319 |
.destroy = fuse_exfat_destroy, |
330 |
.destroy = fuse_exfat_destroy, |
|
|
331 |
.create = fuse_exfat_create, |
320 |
}; |
332 |
}; |
321 |
|
333 |
|
322 |
static char* add_option(char* options, const char* name, const char* value) |
334 |
static char* add_option(char* options, const char* name, const char* value) |