Changeset 40a2af3 in mainline for uspace/srv/fs/mfs/mfs_inode.c


Ignore:
Timestamp:
2011-09-09T18:41:18Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
05fb96b, f456ab2
Parents:
3781092
Message:

remove a lot of useless asserts

File:
1 edited

Legend:

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

    r3781092 r40a2af3  
    8585
    8686        sbi = instance->sbi;
    87         assert(sbi);
    8887
    8988        /*inode 0 does not exist*/
     
    150149
    151150        sbi = instance->sbi;
    152         assert(sbi);
    153151
    154152        /*inode 0 does not exist*/
     
    204202        int rc = EOK;
    205203
    206         assert(mnode);
    207         assert(mnode->ino_i);
    208 
    209204        if (!mnode->ino_i->dirty)
    210205                goto out;
    211206
    212207        struct mfs_instance *inst = mnode->instance;
    213         assert(inst);
    214208        struct mfs_sb_info *sbi = inst->sbi;
    215         assert(sbi);
    216209
    217210        if (sbi->fs_version == MFS_VERSION_V1)
Note: See TracChangeset for help on using the changeset viewer.