Changeset 05fb96b in mainline for uspace/srv/fs/mfs/mfs_ops.c


Ignore:
Timestamp:
2011-09-10T10:58:51Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2f72c67a
Parents:
cccc091 (diff), 40a2af3 (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 from lp:mfs.

File:
1 edited

Legend:

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

    rcccc091 r05fb96b  
    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.