rem: Print("  name           = %s\n",superBlock->name); Print("  magic1         = %#08lx (%s) %s\n",superBlock->magic1, get_tupel(superBlock->magic1), (superBlock->magic1 == SUPER_BLOCK_MAGIC1 ? "valid" : "INVALID")); Print("  fs_byte_order  = %#08lx (%s)\n",superBlock->fs_byte_order, get_tupel(superBlock->fs_byte_order)); Print("  block_size     = %lu\n",superBlock->block_size); Print("  block_shift    = %lu\n",superBlock->block_shift); Print("  num_blocks     = %Lu\n",superBlock->num_blocks); Print("  used_blocks    = %Lu\n",superBlock->used_blocks); Print("  inode_size     = %lu\n",superBlock->inode_size); Print("  magic2         = %#08lx (%s) %s\n",superBlock->magic2, get_tupel(superBlock->magic2), (superBlock->magic2 == (int)SUPER_BLOCK_MAGIC2 ? "valid" : "INVALID")); Print("  blocks_per_ag  = %lu\n",superBlock->blocks_per_ag); Print("  ag_shift       = %lu (%ld bytes)\n",superBlock->ag_shift, 1LL << superBlock->ag_shift); Print("  num_ags        = %lu\n",superBlock->num_ags); Print("  flags          = %#08lx (%s)\n",superBlock->flags, get_tupel(superBlock->flags)); dump_block_run("  log_blocks     = ",superBlock->log_blocks); Print("  log_start      = %Lu\n",superBlock->log_start); Print("  log_end        = %Lu\n",superBlock->log_end); Print("  magic3         = %#08lx (%s) %s\n",superBlock->magic3, get_tupel(superBlock->magic3), (superBlock->magic3 == SUPER_BLOCK_MAGIC3 ? "valid" : "INVALID")); dump_block_run("  root_dir       = ",superBlock->root_dir); dump_block_run("  indices        = ",superBlock->indices);
add: Print("  name           = %s\n", superBlock->name); Print("  magic1         = %#08lx (%s) %s\n", superBlock->magic1, get_tupel(superBlock->magic1), (superBlock->magic1 == SUPER_BLOCK_MAGIC1 ? "valid" : "INVALID")); Print("  fs_byte_order  = %#08lx (%s)\n", superBlock->fs_byte_order, get_tupel(superBlock->fs_byte_order)); Print("  block_size     = %lu\n", superBlock->block_size); Print("  block_shift    = %lu\n", superBlock->block_shift); Print("  num_blocks     = %Lu\n", superBlock->num_blocks); Print("  used_blocks    = %Lu\n", superBlock->used_blocks); Print("  inode_size     = %lu\n", superBlock->inode_size); Print("  magic2         = %#08lx (%s) %s\n", superBlock->magic2, get_tupel(superBlock->magic2), (superBlock->magic2 == (int)SUPER_BLOCK_MAGIC2 ? "valid" : "INVALID")); Print("  blocks_per_ag  = %lu\n", superBlock->blocks_per_ag); Print("  ag_shift       = %lu (%ld bytes)\n", superBlock->ag_shift, 1L << superBlock->ag_shift); Print("  num_ags        = %lu\n", superBlock->num_ags); Print("  flags          = %#08lx (%s)\n", superBlock->flags, get_tupel(superBlock->flags)); dump_block_run("  log_blocks     = ", superBlock->log_blocks); Print("  log_start      = %Lu\n", superBlock->log_start); Print("  log_end        = %Lu\n", superBlock->log_end); Print("  magic3         = %#08lx (%s) %s\n", superBlock->magic3, get_tupel(superBlock->magic3), (superBlock->magic3 == SUPER_BLOCK_MAGIC3 ? "valid" : "INVALID")); dump_block_run("  root_dir       = ", superBlock->root_dir); dump_block_run("  indices        = ", superBlock->indices);
context: dump_super_block(disk_super_block *superBlock){	Print("disk_super_block:\n");	Print("  name           = %s\n",superBlock->name);	Print("  magic1         = %#08lx (%s) %s\n",superBlock->magic1, get_tupel(superBlock->magic1), (superBlock->magic1 == SUPER_BLOCK_MAGIC1 ? "valid" : "INVALID"));	Print("  fs_byte_order  = %#08lx (%s)\n",superBlock->fs_byte_order, get_tupel(superBlock->fs_byte_order));	Print("  block_size     = %lu\n",superBlock->block_size);	Print("  block_shift    = %lu\n",superBlock->block_shift);	Print("  num_blocks     = %Lu\n",superBlock->num_blocks);	Print("  used_blocks    = %Lu\n",superBlock->used_blocks);	Print("  inode_size     = %lu\n",superBlock->inode_size);	Print("  magic2         = %#08lx (%s) %s\n",superBlock->magic2, get_tupel(superBlock->magic2), (superBlock->magic2 == (int)SUPER_BLOCK_MAGIC2 ? "valid" : "INVALID"));	Print("  blocks_per_ag  = %lu\n",superBlock->blocks_per_ag);	Print("  ag_shift       = %lu (%ld bytes)\n",superBlock->ag_shift, 1LL << superBlock->ag_shift);	Print("  num_ags        = %lu\n",superBlock->num_ags);	Print("  flags          = %#08lx (%s)\n",superBlock->flags, get_tupel(superBlock->flags));	dump_block_run("  log_blocks     = ",superBlock->log_blocks);	Print("  log_start      = %Lu\n",superBlock->log_start);	Print("  log_end        = %Lu\n",superBlock->log_end);	Print("  magic3         = %#08lx (%s) %s\n",superBlock->magic3, get_tupel(superBlock->magic3), (superBlock->magic3 == SUPER_BLOCK_MAGIC3 ? "valid" : "INVALID"));	dump_block_run("  root_dir       = ",superBlock->root_dir);	dump_block_run("  indices        = ",superBlock->indices);}