Changeset f0ceb1d in mainline
- Timestamp:
- 2011-03-08T19:37:20Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4727a97a
- Parents:
- 56df02f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/mkminix/mkminix.c
r56df02f rf0ceb1d 240 240 init_inode_table(&sb); 241 241 242 /*Make the root inode*/ 243 if (sb.fs_version == 3) 244 make_root_ino3(&sb); 245 else 246 make_root_ino(&sb); 247 242 248 /*Insert directory entries . and ..*/ 243 249 insert_dentries(&sb); … … 254 260 255 261 if (sb->fs_version != 3) { 256 /*Director ies entryfor V1/V2 filesystem*/262 /*Directory entries for V1/V2 filesystem*/ 257 263 struct mfs_dentry *dentry = root_block; 258 264 … … 265 271 str_cpy(dentry->d_name, 2, ".."); 266 272 } else { 267 /*Director ies entryfor V3 filesystem*/273 /*Directory entries for V3 filesystem*/ 268 274 struct mfs3_dentry *dentry = root_block; 269 275 … … 297 303 298 304 free(itable_buf); 299 300 /*Make the root inode*/301 if (sb->fs_version != 3)302 make_root_ino(sb);303 else304 make_root_ino3(sb);305 305 } 306 306
Note:
See TracChangeset
for help on using the changeset viewer.