Changeset 05155a1 in mainline
- Timestamp:
- 2011-02-27T19:40:26Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e6cb880
- Parents:
- 38eaf41 (diff), 5ca5eaa7 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat_ops.c
r38eaf41 r05155a1 812 812 fibril_mutex_unlock(&childp->idx->lock); 813 813 childp->lnkcnt = 0; 814 childp->refcnt++; /* keep the node in memory until destroyed */ 814 815 childp->dirty = true; 815 816 fibril_mutex_unlock(&childp->lock); … … 1489 1490 fs_index_t index = (fs_index_t)IPC_GET_ARG2(*request); 1490 1491 fs_node_t *fn; 1492 fat_node_t *nodep; 1491 1493 int rc; 1492 1494 … … 1500 1502 return; 1501 1503 } 1504 1505 nodep = FAT_NODE(fn); 1506 /* 1507 * We should have exactly two references. One for the above 1508 * call to fat_node_get() and one from fat_unlink(). 1509 */ 1510 assert(nodep->refcnt == 2); 1502 1511 1503 1512 rc = fat_destroy_node(fn);
Note:
See TracChangeset
for help on using the changeset viewer.