Changeset 4cee3944 in mainline
- Timestamp:
- 2011-03-06T16:05:33Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e6aaa59
- Parents:
- 89ae871
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/mkminix/mkminix.c
r89ae871 r4cee3944 68 68 static void help_cmd_mkminix(help_level_t level); 69 69 static int num_of_set_bits(uint32_t n); 70 static void prepare_superblock(struct mfs_superblock *sb, mfs_params_t *opt);71 static void prepare_superblock_v3(struct mfs3_superblock *sb, mfs_params_t *opt);70 static void setup_superblock(struct mfs_superblock *sb, mfs_params_t *opt); 71 static void setup_superblock_v3(struct mfs3_superblock *sb, mfs_params_t *opt); 72 72 73 73 static struct option const long_options[] = { … … 198 198 printf(NAME ": Creating Minix file system on device\n"); 199 199 200 /* Preparesuperblock*/200 /*Setting up superblock*/ 201 201 202 202 if (opt.fs_magic == MFS_MAGIC_V3) { … … 206 206 return 2; 207 207 } 208 prepare_superblock_v3(sb3, &opt);208 setup_superblock_v3(sb3, &opt); 209 209 } else { 210 210 sb = (struct mfs_superblock *) malloc(sizeof(struct mfs_superblock)); … … 213 213 return 2; 214 214 } 215 prepare_superblock(sb, &opt);215 setup_superblock(sb, &opt); 216 216 block_write_direct(handle, MFS_SUPERBLOCK, 1, sb); 217 217 } … … 220 220 } 221 221 222 static void prepare_superblock(struct mfs_superblock *sb, mfs_params_t *opt)222 static void setup_superblock(struct mfs_superblock *sb, mfs_params_t *opt) 223 223 { 224 224 int ino_per_block = 0; … … 280 280 } 281 281 282 static void prepare_superblock_v3(struct mfs3_superblock *sb, mfs_params_t *opt)282 static void setup_superblock_v3(struct mfs3_superblock *sb, mfs_params_t *opt) 283 283 { 284 284 }
Note:
See TracChangeset
for help on using the changeset viewer.