Changeset 34b3ce3 in mainline
- Timestamp:
- 2008-05-12T16:16:42Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ace9358
- Parents:
- 929ce92
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat_ops.c
r929ce92 r34b3ce3 92 92 } 93 93 94 /* TODO and alsomove somewhere else */94 /* TODO move somewhere else */ 95 95 typedef struct { 96 96 void *data; … … 256 256 * The node is already instantiated in memory. 257 257 */ 258 idx->nodep->refcnt++; 258 if (!idx->nodep->refcnt++) 259 list_remove(&nodep->ffn_link); 259 260 return idx->nodep; 260 261 } … … 316 317 static void fat_node_put(void *node) 317 318 { 318 /* TODO */ 319 fat_node_t *nodep = (fat_node_t *)node; 320 321 if (!--nodep->refcnt) { 322 list_append(&nodep->ffn_link, &ffn_head); 323 } 319 324 } 320 325
Note:
See TracChangeset
for help on using the changeset viewer.