Changeset 432a269 in mainline for uspace/srv/fs/mfs/mfs_ops.c


Ignore:
Timestamp:
2011-09-16T21:13:57Z (13 years ago)
Author:
Martin Sucha <sucha14@…>
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.
Message:

Merge mainline changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/mfs/mfs_ops.c

    rc0e53ff r432a269  
    468468static aoff64_t mfs_size_get(fs_node_t *node)
    469469{
    470         assert(node);
    471 
    472470        const struct mfs_node *mnode = node->data;
    473         assert(mnode);
    474         assert(mnode->ino_i);
    475 
    476471        return mnode->ino_i->i_size;
    477472}
     
    513508                assert(mnode->instance->open_nodes_cnt > 0);
    514509                mnode->instance->open_nodes_cnt--;
    515                 rc = mfs_put_inode_core(mnode);
     510                rc = mfs_put_inode(mnode);
    516511                free(mnode->ino_i);
    517512                free(mnode);
     
    535530{
    536531        struct mfs_node *mnode = fsnode->data;
    537 
    538         assert(mnode->ino_i);
    539532        return mnode->ino_i->index;
    540533}
Note: See TracChangeset for help on using the changeset viewer.