Changeset c699b0c in mainline for uspace/srv/fs/minixfs/mfs_inode.c
- Timestamp:
- 2011-09-04T13:12:33Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3a5ee6c
- Parents:
- 03bc76a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/minixfs/mfs_inode.c
r03bc76a rc699b0c 96 96 itable_off + inum / sbi->ino_per_block, 97 97 BLOCK_FLAGS_NONE); 98 on_error(r, goto out_err); 98 if (r != EOK) 99 goto out_err; 99 100 100 101 ino = b->data + ino_off * sizeof(struct mfs_inode); … … 152 153 itable_off + inum / sbi->ino_per_block, 153 154 BLOCK_FLAGS_NONE); 154 on_error(r, goto out_err); 155 if (r != EOK) 156 goto out_err; 155 157 156 158 ino = b->data + ino_off * sizeof(struct mfs2_inode); … … 225 227 BLOCK_FLAGS_NONE); 226 228 227 on_error(r, goto out); 229 if (r != EOK) 230 goto out; 228 231 229 232 struct mfs_inode *ino = b->data; … … 267 270 BLOCK_FLAGS_NONE); 268 271 269 on_error(r, goto out); 272 if (r != EOK) 273 goto out; 270 274 271 275 struct mfs2_inode *ino2 = b->data; … … 330 334 331 335 r = write_map(mnode, pos, 0, &old_zone); 332 on_error(r, goto exit_error); 336 if (r != EOK) 337 goto exit_error; 333 338 334 339 ino_i->i_size -= bs; … … 338 343 339 344 r = mfs_free_zone(mnode->instance, old_zone); 340 on_error(r, goto exit_error); 345 if (r != EOK) 346 goto exit_error; 341 347 } 342 348
Note:
See TracChangeset
for help on using the changeset viewer.