Changeset 5a841a4 in mainline
- Timestamp:
- 2011-04-10T15:57:10Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 13ab195
- Parents:
- 18c9e6b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/minixfs/mfs_ops.c
r18c9e6b r5a841a4 204 204 sbi->log2_zone_size = conv16(native, sb->s_log2_zone_size); 205 205 sbi->max_file_size = conv32(native, sb->s_max_file_size); 206 sbi->nzones = conv16(native, sb->s_nzones);207 206 sbi->block_size = MFS_BLOCKSIZE; 208 sbi->ino_per_block = V1_INODES_PER_BLOCK; 209 if (version == MFS_VERSION_V2) 207 if (version == MFS_VERSION_V2) { 210 208 sbi->nzones = conv32(native, sb->s_nzones2); 209 sbi->ino_per_block = V2_INODES_PER_BLOCK; 210 } else { 211 sbi->nzones = conv16(native, sb->s_nzones); 212 sbi->ino_per_block = V1_INODES_PER_BLOCK; 213 } 211 214 sbi->dirsize = longnames ? MFSL_DIRSIZE : MFS_DIRSIZE; 212 215 sbi->max_name_len = longnames ? MFS_L_MAX_NAME_LEN :
Note:
See TracChangeset
for help on using the changeset viewer.