Changeset 45f244b in mainline for uspace/srv/fs/tmpfs/tmpfs_ops.c
- Timestamp:
- 2008-04-15T03:15:43Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9a5f0cb
- Parents:
- 80e8482
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/tmpfs/tmpfs_ops.c
r80e8482 r45f244b 76 76 static bool tmpfs_link_node(void *, void *, const char *); 77 77 static int tmpfs_unlink_node(void *, void *); 78 static booltmpfs_destroy_node(void *);78 static int tmpfs_destroy_node(void *); 79 79 80 80 /* Implementation of helper functions. */ … … 375 375 } 376 376 377 booltmpfs_destroy_node(void *nodep)377 int 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 return EOK; 394 394 } 395 395 … … 580 580 dev_handle_t dev_handle = (dev_handle_t)IPC_GET_ARG1(*request); 581 581 fs_index_t index = (fs_index_t)IPC_GET_ARG2(*request); 582 int rc; 582 583 583 584 link_t *hlp; … … 590 591 tmpfs_dentry_t *dentry = hash_table_get_instance(hlp, tmpfs_dentry_t, 591 592 dh_link); 592 tmpfs_destroy_node(dentry);593 ipc_answer_0(rid, EOK);593 rc = tmpfs_destroy_node(dentry); 594 ipc_answer_0(rid, rc); 594 595 } 595 596
Note:
See TracChangeset
for help on using the changeset viewer.