Changeset 80e8482 in mainline for uspace/srv
- Timestamp:
- 2008-04-15T03:01:59Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 45f244b
- Parents:
- d9e9caf
- Location:
- uspace/srv/fs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat_ops.c
rd9e9caf r80e8482 305 305 list_append(&nodep->ffn_link, &ffn_head); 306 306 futex_up(&fin_futex); 307 } 308 309 static void *fat_create(int flags) 310 { 311 return NULL; /* not supported at the moment */ 312 } 313 314 static bool fat_destroy(void *node) 315 { 316 return false; /* not supported at the moment */ 317 } 318 319 static bool fat_link(void *prnt, void *chld, const char *name) 320 { 321 return false; /* not supported at the moment */ 322 } 323 324 static int fat_unlink(void *prnt, void *chld) 325 { 326 return ENOTSUP; /* not supported at the moment */ 307 327 } 308 328 … … 446 466 .node_get = fat_node_get, 447 467 .node_put = fat_node_put, 448 .create = NULL,449 .destroy = NULL,450 .link = NULL,451 .unlink = NULL,468 .create = fat_create, 469 .destroy = fat_destroy, 470 .link = fat_link, 471 .unlink = fat_unlink, 452 472 .index_get = fat_index_get, 453 473 .size_get = fat_size_get, -
uspace/srv/fs/tmpfs/tmpfs_ops.c
rd9e9caf r80e8482 76 76 static bool tmpfs_link_node(void *, void *, const char *); 77 77 static int tmpfs_unlink_node(void *, void *); 78 static voidtmpfs_destroy_node(void *);78 static bool tmpfs_destroy_node(void *); 79 79 80 80 /* Implementation of helper functions. */ … … 375 375 } 376 376 377 voidtmpfs_destroy_node(void *nodep)377 bool tmpfs_destroy_node(void *nodep) 378 378 { 379 379 tmpfs_dentry_t *dentry = (tmpfs_dentry_t *) nodep; … … 391 391 free(dentry->data); 392 392 free(dentry); 393 return true; 393 394 } 394 395
Note:
See TracChangeset
for help on using the changeset viewer.