Changeset 7b6d98b in mainline for uspace/lib/libfs/libfs.c
- Timestamp:
- 2008-03-05T22:11:57Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 739d00a
- Parents:
- 3ca7059
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libfs/libfs.c
r3ca7059 r7b6d98b 146 146 last += PLB_SIZE; 147 147 148 void *par = NULL; 148 149 void *cur = ops->root_get(); 149 150 void *tmp = ops->child_get(cur); … … 207 208 208 209 /* descend one level */ 210 par = cur; 209 211 cur = tmp; 210 212 tmp = ops->child_get(tmp); … … 261 263 if (lflag & L_DESTROY) { 262 264 unsigned old_lnkcnt = ops->lnkcnt_get(cur); 263 int res = ops->unlink( cur);265 int res = ops->unlink(par, cur); 264 266 ipc_answer_5(rid, (ipcarg_t)res, fs_handle, dev_handle, 265 267 ops->index_get(cur), ops->size_get(cur), old_lnkcnt);
Note:
See TracChangeset
for help on using the changeset viewer.