Changeset 432a269 in mainline for uspace/srv/fs/mfs/mfs_ops.c
- Timestamp:
- 2011-09-16T21:13:57Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3a11f17
- Parents:
- c0e53ff (diff), fd07e526 (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/mfs/mfs_ops.c
rc0e53ff r432a269 468 468 static aoff64_t mfs_size_get(fs_node_t *node) 469 469 { 470 assert(node);471 472 470 const struct mfs_node *mnode = node->data; 473 assert(mnode);474 assert(mnode->ino_i);475 476 471 return mnode->ino_i->i_size; 477 472 } … … 513 508 assert(mnode->instance->open_nodes_cnt > 0); 514 509 mnode->instance->open_nodes_cnt--; 515 rc = mfs_put_inode _core(mnode);510 rc = mfs_put_inode(mnode); 516 511 free(mnode->ino_i); 517 512 free(mnode); … … 535 530 { 536 531 struct mfs_node *mnode = fsnode->data; 537 538 assert(mnode->ino_i);539 532 return mnode->ino_i->index; 540 533 }
Note:
See TracChangeset
for help on using the changeset viewer.