Changeset 40a2af3 in mainline
- Timestamp:
- 2011-09-09T18:41:18Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 05fb96b, f456ab2
- Parents:
- 3781092
- Location:
- uspace/srv/fs/mfs
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/mfs/mfs_balloc.c
r3781092 r40a2af3 122 122 block_t *b; 123 123 124 assert(inst != NULL);125 124 sbi = inst->sbi; 126 assert(sbi != NULL);127 125 128 126 if (bid == BMAP_ZONE) { … … 192 190 int r, freebit; 193 191 194 assert(inst != NULL);195 192 sbi = inst->sbi; 196 assert(sbi != NULL);197 193 198 194 if (bid == BMAP_ZONE) { -
uspace/srv/fs/mfs/mfs_inode.c
r3781092 r40a2af3 85 85 86 86 sbi = instance->sbi; 87 assert(sbi);88 87 89 88 /*inode 0 does not exist*/ … … 150 149 151 150 sbi = instance->sbi; 152 assert(sbi);153 151 154 152 /*inode 0 does not exist*/ … … 204 202 int rc = EOK; 205 203 206 assert(mnode);207 assert(mnode->ino_i);208 209 204 if (!mnode->ino_i->dirty) 210 205 goto out; 211 206 212 207 struct mfs_instance *inst = mnode->instance; 213 assert(inst);214 208 struct mfs_sb_info *sbi = inst->sbi; 215 assert(sbi);216 209 217 210 if (sbi->fs_version == MFS_VERSION_V1) -
uspace/srv/fs/mfs/mfs_ops.c
r3781092 r40a2af3 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 } … … 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.