Changeset c922bc7 in mainline for uspace/srv/fs/minixfs/mfs_ops.c
- Timestamp:
- 2011-04-06T18:32:00Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8ab1adff
- Parents:
- 40f7297
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/minixfs/mfs_ops.c
r40f7297 rc922bc7 387 387 int rc; 388 388 389 const struct mfs_sb_info *sbi = inst->sbi;390 391 389 node = malloc(sizeof(fs_node_t)); 392 390 if (!node) { … … 405 403 struct mfs_ino_info *ino_i; 406 404 407 if (sbi->fs_version == MFS_VERSION_V1) { 408 /*Read MFS V1 inode*/ 409 ino_i = mfs_read_inode_raw(inst, index); 410 } else { 411 /*Read MFS V2/V3 inode*/ 412 ino_i = mfs2_read_inode_raw(inst, index); 413 } 414 415 if (!ino_i) 405 rc = get_inode(inst, &ino_i, index); 406 if (rc != EOK) 416 407 goto out_err; 417 408
Note:
See TracChangeset
for help on using the changeset viewer.